changeset 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 76d453ac3c4f
children 25d8603103b7
files lisp/outline.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/outline.el	Mon Jul 28 22:10:30 2003 +0000
+++ b/lisp/outline.el	Mon Jul 28 22:27:22 2003 +0000
@@ -271,8 +271,7 @@
        '(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.