1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

(outline-mode) <font-lock-defaults>: Add

backward-paragraph as font-lock-beginning-of-syntax-function.
This commit is contained in:
Dave Love 2001-01-23 11:56:21 +00:00
parent 5a43decfe0
commit ae4eaaada5

View file

@ -226,7 +226,7 @@ Turning on outline mode calls the value of `text-mode-hook' and then of
(set (make-local-variable 'paragraph-separate)
(concat paragraph-separate "\\|\\(" outline-regexp "\\)"))
(set (make-local-variable 'font-lock-defaults)
'(outline-font-lock-keywords t))
'(outline-font-lock-keywords t nil nil 'backward-paragraph))
(setq imenu-generic-expression
(list (list nil (concat outline-regexp ".*$") 0)))
(add-hook 'change-major-mode-hook 'show-all nil t))