Mercurial > emacs
changeset 37771:0068cd6ba2f4
(switch-to-buffer-other-window, switch-to-buffer-other-frame): Add an xref
to display-buffer in the doc string.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 17 May 2001 10:58:00 +0000 |
parents | 99998083d710 |
children | c65a014951cb |
files | lisp/files.el |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Thu May 17 10:54:38 2001 +0000 +++ b/lisp/files.el Thu May 17 10:58:00 2001 +0000 @@ -700,7 +700,10 @@ (defun switch-to-buffer-other-window (buffer &optional norecord) "Select buffer BUFFER in another window. Optional second arg NORECORD non-nil means -do not put this buffer at the front of the list of recently selected ones." +do not put this buffer at the front of the list of recently selected ones. + +This uses the function `display-buffer' as a subroutine; see its +documentation for additional customization information." (interactive "BSwitch to buffer in other window: ") (let ((pop-up-windows t)) (pop-to-buffer buffer t norecord))) @@ -708,7 +711,10 @@ (defun switch-to-buffer-other-frame (buffer &optional norecord) "Switch to buffer BUFFER in another frame. Optional second arg NORECORD non-nil means -do not put this buffer at the front of the list of recently selected ones." +do not put this buffer at the front of the list of recently selected ones. + +This uses the function `display-buffer' as a subroutine; see its +documentation for additional customization information." (interactive "BSwitch to buffer in other frame: ") (let ((pop-up-frames t)) (pop-to-buffer buffer t norecord)