changeset 24055:02187e077463

(temp-buffer-setup-hook, temp-buffer-show-hook): Swap the values round.
author Dave Love <fx@gnu.org>
date Mon, 11 Jan 1999 21:01:12 +0000
parents 19ff7845d5f7
children d20160af7b6e
files lisp/help.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Mon Jan 11 18:09:31 1999 +0000
+++ b/lisp/help.el	Mon Jan 11 21:01:12 1999 +0000
@@ -158,7 +158,7 @@
   (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 @@
   (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."