summaryrefslogtreecommitdiff
path: root/lisp/outline.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-07-28 22:27:22 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-07-28 22:27:22 +0000
commit53526855c41ba58f0c54d3f8532b69e08dd08d1a (patch)
tree248abf7e9a08c6d53e079f3ab32eaee48651e4d9 /lisp/outline.el
parentbb5618fe389d51e9e68f7f91c2890d5ab6826703 (diff)
downloademacs-53526855c41ba58f0c54d3f8532b69e08dd08d1a.tar.gz
(outline-mode): Revert part of last patch (outline-mode already runs the hook).
Diffstat (limited to 'lisp/outline.el')
-rw-r--r--lisp/outline.el3
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
'(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)
- (run-hooks 'outline-mode-hook))
+ (add-hook 'change-major-mode-hook 'show-all nil t))
(defcustom outline-minor-mode-prefix "\C-c@"
"*Prefix key to use for Outline commands in Outline minor mode.