]> git.eshelyaron.com Git - emacs.git/commit
Move revert-buffer-restore-functions use from buff-menu.el to outline.el
authorJuri Linkov <juri@linkov.net>
Mon, 3 Jun 2024 18:13:38 +0000 (21:13 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Jun 2024 19:33:32 +0000 (21:33 +0200)
commitbabf29aa2a4d69a57e141a9f35176ab74e63650d
tree91419fc2b075cd49e2711fdae5b19e57fb1b9a19
parentbc3de6d340f1f673a714181ffa0d8fa58e39cb7b
Move revert-buffer-restore-functions use from buff-menu.el to outline.el

* lisp/buff-menu.el (Buffer-menu-mode): Remove
revert-buffer-restore-functions with handling of
outline-minor-mode and move it to outline-minor-mode.

* lisp/outline.el (outline-minor-mode):
Add revert-buffer-restore-functions to call
outline-minor-mode-highlight-buffer after reverting the buffer
with outline-minor-mode and outline-minor-mode-highlight
where font-lock can't be used to update highlighting.

(cherry picked from commit fe79a6ff507670a2ab79fca060c2727fcd0a4dae)
lisp/buff-menu.el
lisp/outline.el