@@ -8733,6 +8733,13 @@ documentation for additional customization information."
8733
8733
BUFFER-OR-NAME may be a buffer, a string (a buffer name), or
8734
8734
nil. Return the buffer switched to.
8735
8735
8736
+ This uses the function `display-buffer' as a subroutine to
8737
+ display the buffer; see its documentation for additional
8738
+ customization information. By default, if the buffer is already
8739
+ displayed (even in the current frame), that window is selected.
8740
+ If the buffer isn't displayed in any frame, a new frame is popped
8741
+ up and the buffer is displayed there.
8742
+
8736
8743
If called interactively, read the buffer name using `read-buffer'.
8737
8744
The variable `confirm-nonexistent-file-or-buffer' determines
8738
8745
whether to request confirmation before creating a new buffer.
@@ -8744,10 +8751,7 @@ buffer, create a new buffer with that name. If BUFFER-OR-NAME is
8744
8751
nil, switch to the buffer returned by `other-buffer'.
8745
8752
8746
8753
Optional second arg NORECORD non-nil means do not put this
8747
- buffer at the front of the list of recently selected ones.
8748
-
8749
- This uses the function `display-buffer' as a subroutine; see its
8750
- documentation for additional customization information."
8754
+ buffer at the front of the list of recently selected ones."
8751
8755
(interactive
8752
8756
(list (read-buffer-to-switch "Switch to buffer in other frame: ")))
8753
8757
(pop-to-buffer buffer-or-name display-buffer--other-frame-action norecord))
0 commit comments