Mercurial > emacs
changeset 45706:695ea9cce74e
(occur-mode): Do set `font-lock-defaults',
and be sure to set `font-lock-core-only'.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Sun, 09 Jun 2002 00:17:17 +0000 |
parents | 650fdcae4092 |
children | 1ad70e69b4ba |
files | lisp/replace.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/replace.el Sun Jun 09 00:16:29 2002 +0000 +++ b/lisp/replace.el Sun Jun 09 00:17:17 2002 +0000 @@ -470,8 +470,9 @@ (use-local-map occur-mode-map) (setq major-mode 'occur-mode) (setq mode-name "Occur") - (make-local-variable 'revert-buffer-function) (set (make-local-variable 'revert-buffer-function) 'occur-revert-function) + (set (make-local-variable 'font-lock-defaults) + '(nil t nil nil nil (font-lock-core-only . t))) (make-local-variable 'occur-revert-arguments) (run-hooks 'occur-mode-hook))