diff options
| author | Juanma Barranquero | 2003-07-28 22:27:22 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-07-28 22:27:22 +0000 |
| commit | 53526855c41ba58f0c54d3f8532b69e08dd08d1a (patch) | |
| tree | 248abf7e9a08c6d53e079f3ab32eaee48651e4d9 | |
| parent | bb5618fe389d51e9e68f7f91c2890d5ab6826703 (diff) | |
| download | emacs-53526855c41ba58f0c54d3f8532b69e08dd08d1a.tar.gz emacs-53526855c41ba58f0c54d3f8532b69e08dd08d1a.zip | |
(outline-mode): Revert part of last patch (outline-mode already runs the hook).
| -rw-r--r-- | lisp/outline.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/outline.el b/lisp/outline.el index 7242bc987d0..fb76271eb69 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -271,8 +271,7 @@ Turning on outline mode calls the value of `text-mode-hook' and then of | |||
| 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. |