Mercurial > emacs
comparison lisp/outline.el @ 52070:318ea3203ba5
(outline-mode): Revert part of last patch (outline-mode already runs the hook).
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 28 Jul 2003 22:27:22 +0000 |
parents | 36323dc1a2ac |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
52069:76d453ac3c4f | 52070:318ea3203ba5 |
---|---|
269 (concat paragraph-separate "\\|\\(?:" outline-regexp "\\)")) | 269 (concat paragraph-separate "\\|\\(?:" outline-regexp "\\)")) |
270 (set (make-local-variable 'font-lock-defaults) | 270 (set (make-local-variable 'font-lock-defaults) |
271 '(outline-font-lock-keywords t nil nil backward-paragraph)) | 271 '(outline-font-lock-keywords t nil nil backward-paragraph)) |
272 (setq imenu-generic-expression | 272 (setq imenu-generic-expression |
273 (list (list nil (concat "^\\(?:" outline-regexp "\\).*$") 0))) | 273 (list (list nil (concat "^\\(?:" outline-regexp "\\).*$") 0))) |
274 (add-hook 'change-major-mode-hook 'show-all nil t) | 274 (add-hook 'change-major-mode-hook 'show-all nil t)) |
275 (run-hooks 'outline-mode-hook)) | |
276 | 275 |
277 (defcustom outline-minor-mode-prefix "\C-c@" | 276 (defcustom outline-minor-mode-prefix "\C-c@" |
278 "*Prefix key to use for Outline commands in Outline minor mode. | 277 "*Prefix key to use for Outline commands in Outline minor mode. |
279 The value of this variable is checked as part of loading Outline mode. | 278 The value of this variable is checked as part of loading Outline mode. |
280 After that, changing the prefix key requires manipulating keymaps." | 279 After that, changing the prefix key requires manipulating keymaps." |