diff options
| author | Colin Walters | 2002-06-09 00:17:17 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-06-09 00:17:17 +0000 |
| commit | f53f6a1e0c4162205725131bc15f3dcfecd41bb3 (patch) | |
| tree | 012a0a7de3fe2a878b0d4999a6d8cc9ccc23bd61 /lisp/replace.el | |
| parent | 63e0bf5e28f04a60f4767fa2388aa7b6882ae4cc (diff) | |
| download | emacs-f53f6a1e0c4162205725131bc15f3dcfecd41bb3.tar.gz emacs-f53f6a1e0c4162205725131bc15f3dcfecd41bb3.zip | |
(occur-mode): Do set `font-lock-defaults',
and be sure to set `font-lock-core-only'.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index a07c93e5c64..e5f87dc65a1 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -470,8 +470,9 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it. | |||
| 470 | (use-local-map occur-mode-map) | 470 | (use-local-map occur-mode-map) |
| 471 | (setq major-mode 'occur-mode) | 471 | (setq major-mode 'occur-mode) |
| 472 | (setq mode-name "Occur") | 472 | (setq mode-name "Occur") |
| 473 | (make-local-variable 'revert-buffer-function) | ||
| 474 | (set (make-local-variable 'revert-buffer-function) 'occur-revert-function) | 473 | (set (make-local-variable 'revert-buffer-function) 'occur-revert-function) |
| 474 | (set (make-local-variable 'font-lock-defaults) | ||
| 475 | '(nil t nil nil nil (font-lock-core-only . t))) | ||
| 475 | (make-local-variable 'occur-revert-arguments) | 476 | (make-local-variable 'occur-revert-arguments) |
| 476 | (run-hooks 'occur-mode-hook)) | 477 | (run-hooks 'occur-mode-hook)) |
| 477 | 478 | ||