]> git.eshelyaron.com Git - emacs.git/commitdiff
(temp-buffer-setup-hook, temp-buffer-show-hook): Swap
authorDave Love <fx@gnu.org>
Mon, 11 Jan 1999 21:01:12 +0000 (21:01 +0000)
committerDave Love <fx@gnu.org>
Mon, 11 Jan 1999 21:01:12 +0000 (21:01 +0000)
the values round.

lisp/help.el

index 821e8e7e07832385cccfa9cf705c58a9f13bda69..7ce9239c6019afe73dd2b9af91e2d861aaf1515c 100644 (file)
@@ -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."