(switch-to-buffer-other-window, switch-to-buffer-other-frame): Add an xref

to display-buffer in the doc string.
This commit is contained in:
Eli Zaretskii 2001-05-17 10:59:18 +00:00
parent e0704d3bbb
commit 4c6a473947
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
* files.el (switch-to-buffer-other-window)
(switch-to-buffer-other-frame): Add an xref to display-buffer in
the doc string.
2001-05-17 Gerd Moellmann <gerd@gnu.org>
* language/slovak.el, language/czech.el: New maintainer.

View file

@ -700,7 +700,10 @@ unlike `file-truename'."
(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 @@ do not put this buffer at the front of the list of recently selected ones."
(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)