From 53526855c41ba58f0c54d3f8532b69e08dd08d1a Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 28 Jul 2003 22:27:22 +0000 Subject: [PATCH] (outline-mode): Revert part of last patch (outline-mode already runs the hook). --- lisp/outline.el | 3 +-- 1 file changed, 1 insertion(+), 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. -- 2.39.2