From: Eli Zaretskii Date: Sat, 25 Mar 2006 10:11:09 +0000 (+0000) Subject: (print-help-return-message): Suggest to use display-buffer instead of X-Git-Tag: emacs-pretest-22.0.90~3430 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb0b6766505d2a23687cb8b144cf1935ea76f3af;p=emacs.git (print-help-return-message): Suggest to use display-buffer instead of switch-to-buffer-other-window to restore the previous window without selecting it. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4196ab799b..65f5c199bac 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2006-03-25 Sven Joachim (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 * frame.el (select-frame-by-name): Call x-focus-frame also when diff --git a/lisp/help.el b/lisp/help.el index 5eef13ff9c9..1661779ca74 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -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.")