Commit ce0e1de2 authored by Colin Walters's avatar Colin Walters

(occur-mode): Don't set `font-lock-defaults'.

parent 94a0f9e0
......@@ -471,8 +471,6 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it.
(setq major-mode 'occur-mode)
(setq mode-name "Occur")
(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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment