From: Juanma Barranquero Date: Mon, 28 Jul 2003 22:27:22 +0000 (+0000) Subject: (outline-mode): Revert part of last patch (outline-mode already runs the hook). X-Git-Tag: ttn-vms-21-2-B4~9215 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53526855c41ba58f0c54d3f8532b69e08dd08d1a;p=emacs.git (outline-mode): Revert part of last patch (outline-mode already runs the hook). --- 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.