aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-01-11 21:01:12 +0000
committerDave Love1999-01-11 21:01:12 +0000
commitc96d168d7eee4d6515054059dbc278dc6db02019 (patch)
treebe9347a6270a989e906002319e1cba31542d15c4
parent9b942ebd481c851895ae2b47c2ad186afea6fa82 (diff)
downloademacs-c96d168d7eee4d6515054059dbc278dc6db02019.tar.gz
emacs-c96d168d7eee4d6515054059dbc278dc6db02019.zip
(temp-buffer-setup-hook, temp-buffer-show-hook): Swap
the values round.
-rw-r--r--lisp/help.el4
1 files 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:
158 (help-mode) 158 (help-mode)
159 (setq buffer-read-only nil)) 159 (setq buffer-read-only nil))
160 160
161(add-hook 'temp-buffer-setup-hook 'help-mode-setup) 161(add-hook 'temp-buffer-show-hook 'help-mode-setup)
162 162
163(defun help-mode-finish () 163(defun help-mode-finish ()
164 (when (eq major-mode 'help-mode) 164 (when (eq major-mode 'help-mode)
@@ -169,7 +169,7 @@ Commands:
169 (setq view-return-to-alist 169 (setq view-return-to-alist
170 (list (cons (selected-window) help-return-method)))) 170 (list (cons (selected-window) help-return-method))))
171 171
172(add-hook 'temp-buffer-show-hook 'help-mode-finish) 172(add-hook 'temp-buffer-setup-hook 'help-mode-finish)
173 173
174(defun help-quit () 174(defun help-quit ()
175 "Just exit from the Help command's command loop." 175 "Just exit from the Help command's command loop."