From c96d168d7eee4d6515054059dbc278dc6db02019 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 11 Jan 1999 21:01:12 +0000 Subject: [PATCH] (temp-buffer-setup-hook, temp-buffer-show-hook): Swap the values round. --- lisp/help.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/help.el b/lisp/help.el index 821e8e7e078..7ce9239c601 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -158,7 +158,7 @@ Commands: (help-mode) (setq buffer-read-only nil)) -(add-hook 'temp-buffer-setup-hook 'help-mode-setup) +(add-hook 'temp-buffer-show-hook 'help-mode-setup) (defun help-mode-finish () (when (eq major-mode 'help-mode) @@ -169,7 +169,7 @@ Commands: (setq view-return-to-alist (list (cons (selected-window) help-return-method)))) -(add-hook 'temp-buffer-show-hook 'help-mode-finish) +(add-hook 'temp-buffer-setup-hook 'help-mode-finish) (defun help-quit () "Just exit from the Help command's command loop." -- 2.39.2