* lisp/outline.el (outline-font-lock-keywords): Replace ‘.+’ with ‘.*’.
Make the regexp less restrictive and don't require the outline heading to have more text after outline-regexp until the end of the heading line (bug#51016).
This commit is contained in:
parent
fde9363a57
commit
388b4a12f5
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ in the file it applies to.")
|
|||
(defvar outline-font-lock-keywords
|
||||
'(
|
||||
;; Highlight headings according to the level.
|
||||
(eval . (list (concat "^\\(?:" outline-regexp "\\).+")
|
||||
(eval . (list (concat "^\\(?:" outline-regexp "\\).*")
|
||||
0 '(if outline-minor-mode
|
||||
(if outline-minor-mode-cycle
|
||||
(if outline-minor-mode-highlight
|
||||
|
|
Loading…
Add table
Reference in a new issue