diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/replace.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 449d47e09b..544f10ada9 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -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) |