mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(temp-buffer-setup-hook, temp-buffer-show-hook): Swap
the values round.
This commit is contained in:
parent
9b942ebd48
commit
c96d168d7e
1 changed files with 2 additions and 2 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue