changeset 9478:a8077b802b9e

* outline.el: (outline-mode): Set font-lock-defaults.
author Simon Marshall <simon@gnu.org>
date Wed, 12 Oct 1994 09:00:56 +0000
parents 7a8a379513e4
children ef7c2b4dfee4
files lisp/textmodes/ooutline.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ooutline.el	Wed Oct 12 08:55:27 1994 +0000
+++ b/lisp/textmodes/ooutline.el	Wed Oct 12 09:00:56 1994 +0000
@@ -206,8 +206,8 @@
   (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))