]> git.eshelyaron.com Git - emacs.git/commitdiff
* outline.el: (outline-mode): Set font-lock-defaults.
authorSimon Marshall <simon@gnu.org>
Wed, 12 Oct 1994 09:00:56 +0000 (09:00 +0000)
committerSimon Marshall <simon@gnu.org>
Wed, 12 Oct 1994 09:00:56 +0000 (09:00 +0000)
lisp/textmodes/ooutline.el

index 5d337ddd37fee48cec21be5733bc529acb1039da..65f75d655eb6eb527d2e8e7e1ea9307394e166d2 100644 (file)
@@ -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))