Mercurial > emacs
changeset 47375:fe8ca2be9fde
(occur-mode): Add font-lock-defontify to change-major-mode-hook.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 10 Sep 2002 16:44:17 +0000 |
parents | 78178028d987 |
children | 05b10b9cd8bb |
files | lisp/replace.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/replace.el Tue Sep 10 16:43:48 2002 +0000 +++ b/lisp/replace.el Tue Sep 10 16:44:17 2002 +0000 @@ -489,6 +489,7 @@ (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)