mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(occur-mode): Add font-lock-defontify to change-major-mode-hook.
This commit is contained in:
parent
67c9f58d7e
commit
fbefbe33e0
1 changed files with 1 additions and 0 deletions
|
|
@ -489,6 +489,7 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it.
|
|||
(setq mode-name "Occur")
|
||||
(set (make-local-variable 'revert-buffer-function) 'occur-revert-function)
|
||||
(make-local-variable 'occur-revert-arguments)
|
||||
(add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
|
||||
(run-hooks 'occur-mode-hook))
|
||||
|
||||
(defun occur-revert-function (ignore1 ignore2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue