From: Simon Marshall Date: Wed, 12 Oct 1994 09:00:56 +0000 (+0000) Subject: * outline.el: (outline-mode): Set font-lock-defaults. X-Git-Tag: emacs-19.34~6376 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d31e6eafc224e0aa979cf55843296093b87674d4;p=emacs.git * outline.el: (outline-mode): Set font-lock-defaults. --- diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 5d337ddd37f..65f75d655eb 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el @@ -206,8 +206,8 @@ Turning on outline mode calls the value of `text-mode-hook' and then of (make-local-variable 'paragraph-separate) (setq paragraph-separate (concat paragraph-separate "\\|^\\(" outline-regexp "\\)")) - (make-local-variable 'font-lock-keywords) - (setq font-lock-keywords outline-font-lock-keywords) + (make-local-variable 'font-lock-defaults) + (setq font-lock-defaults '(outline-font-lock-keywords t)) (make-local-variable 'change-major-mode-hook) (add-hook 'change-major-mode-hook 'show-all) (run-hooks 'text-mode-hook 'outline-mode-hook))