]> git.eshelyaron.com Git - emacs.git/commitdiff
(outline-mode): Revert part of last patch (outline-mode already runs the hook).
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 28 Jul 2003 22:27:22 +0000 (22:27 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 28 Jul 2003 22:27:22 +0000 (22:27 +0000)
lisp/outline.el

index 7242bc987d0d98a25994bdd6ffea26f577f74d8b..fb76271eb69074f24d339cb7d6ce46b5e0a3ff5c 100644 (file)
@@ -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.