Mercurial > emacs
comparison lisp/textmodes/outline.el @ 35485:0117c95e5aa2
(outline-mode) <font-lock-defaults>: Add
backward-paragraph as font-lock-beginning-of-syntax-function.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 23 Jan 2001 11:56:21 +0000 |
parents | 77de13a8a918 |
children | ac83181a33d0 |
comparison
equal
deleted
inserted
replaced
35484:01868ffc7076 | 35485:0117c95e5aa2 |
---|---|
224 ;; Inhibit auto-filling of header lines. | 224 ;; Inhibit auto-filling of header lines. |
225 (set (make-local-variable 'auto-fill-inhibit-regexp) outline-regexp) | 225 (set (make-local-variable 'auto-fill-inhibit-regexp) outline-regexp) |
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)) |
233 | 233 |
234 (defcustom outline-minor-mode-prefix "\C-c@" | 234 (defcustom outline-minor-mode-prefix "\C-c@" |