(print-help-return-message): Suggest to use display-buffer instead of

switch-to-buffer-other-window to restore the previous window without
selecting it.
This commit is contained in:
Eli Zaretskii 2006-03-25 10:11:09 +00:00
parent 71c3f28fb7
commit cb0b676650
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-03-25 Sven Joachim <svenjoac@gmx.de> (tiny change)
* help.el (print-help-return-message): Suggest to use
display-buffer instead of switch-to-buffer-other-window to restore
the previous window without selecting it.
2006-03-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* frame.el (select-frame-by-name): Call x-focus-frame also when

View file

@ -143,7 +143,7 @@ specifies what to do when the user exits the help buffer."
((not (one-window-p t))
(setq help-return-method
(cons (selected-window) 'quit-window))
"Type \\[switch-to-buffer-other-window] RET to restore the other window.")
"Type \\[display-buffer] RET to restore the other window.")
(pop-up-windows
(setq help-return-method (cons (selected-window) t))
"Type \\[delete-other-windows] to remove help window.")