]> git.eshelyaron.com Git - emacs.git/commit
* lisp/outline.el (outline-revert-buffer-rehighlight): New function.
authorJuri Linkov <juri@linkov.net>
Tue, 4 Jun 2024 16:53:47 +0000 (19:53 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 5 Jun 2024 10:15:04 +0000 (12:15 +0200)
commit387afbcb1fdec3b7e90850f17a7e6b9f35f3c87a
tree965dda515f69611e09f8bca74bd6f1fe51c58ba8
parentf2abcc5b86b8f55f286ca9877e66bbd0c9d22592
* lisp/outline.el (outline-revert-buffer-rehighlight): New function.

(outline-minor-mode): Add 'outline-revert-buffer-rehighlight' to
'revert-buffer-restore-functions'.  When mode is disabled,
remove hooks from 'revert-buffer-restore-functions' and
also from 'after-change-functions'.

(cherry picked from commit 7f415f7d5e19ea3903500426a0724e49271ac699)
lisp/outline.el