aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDave Love2001-01-23 11:56:21 +0000
committerDave Love2001-01-23 11:56:21 +0000
commitae4eaaada5d928fdc47bfba2c6edef45cf909fd6 (patch)
tree58295eb5cf2e0e39d3f1bf0ffed129f443e507b5 /lisp
parent5a43decfe0b08a9fcff2c9c2935f9f8466ee2b27 (diff)
downloademacs-ae4eaaada5d928fdc47bfba2c6edef45cf909fd6.tar.gz
emacs-ae4eaaada5d928fdc47bfba2c6edef45cf909fd6.zip
(outline-mode) <font-lock-defaults>: Add
backward-paragraph as font-lock-beginning-of-syntax-function.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/outline.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el
index e34ab7e154d..a03c524aeed 100644
--- a/lisp/textmodes/outline.el
+++ b/lisp/textmodes/outline.el
@@ -226,7 +226,7 @@ Turning on outline mode calls the value of `text-mode-hook' and then of
226 (set (make-local-variable 'paragraph-separate) 226 (set (make-local-variable 'paragraph-separate)
227 (concat paragraph-separate "\\|\\(" outline-regexp "\\)")) 227 (concat paragraph-separate "\\|\\(" outline-regexp "\\)"))
228 (set (make-local-variable 'font-lock-defaults) 228 (set (make-local-variable 'font-lock-defaults)
229 '(outline-font-lock-keywords t)) 229 '(outline-font-lock-keywords t nil nil 'backward-paragraph))
230 (setq imenu-generic-expression 230 (setq imenu-generic-expression
231 (list (list nil (concat outline-regexp ".*$") 0))) 231 (list (list nil (concat outline-regexp ".*$") 0)))
232 (add-hook 'change-major-mode-hook 'show-all nil t)) 232 (add-hook 'change-major-mode-hook 'show-all nil t))