]> git.eshelyaron.com Git - emacs.git/commit
Use 'outline-heading-end-regexp' consistently.
authorJuri Linkov <juri@linkov.net>
Thu, 29 May 2025 16:52:20 +0000 (19:52 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:53:18 +0000 (21:53 +0200)
commite2f85d4c4091e029f689efe81d41bae8477d72ca
tree93112e847bbfed4c9d1dde7db969e21081e0a20e
parentc32d0e4c6126edb1b1510b4c6926ef1a023435ca
Use 'outline-heading-end-regexp' consistently.

* lisp/outline.el (outline-font-lock-keywords):
For non-nil 'outline-search-function' also search for
'outline-heading-end-regexp' afterwards like there is
'outline-heading-end-regexp' at the end of the regexp counterpart.
(outline-minor-mode-highlight-buffer): Use 'outline-heading-end-regexp'
like in 'outline-font-lock-keywords' instead of "$".
For non-nil 'outline-search-function' also use
'outline-heading-end-regexp' the same way.

* lisp/help.el (describe-bindings): Remove unnecessary
buffer-local 'outline-heading-end-regexp'.

(cherry picked from commit c9cb89edd500e8a142a7e7cc44a4f8335795d038)
lisp/help.el
lisp/outline.el