From 839857c7bdeab1cfc27f10245a7ef28d9e639e3d Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sun, 11 Jul 2004 02:18:15 +0000 Subject: [PATCH] (switch-to-buffer-other-window): Doc fix. --- lisp/files.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lisp/files.el b/lisp/files.el index 301a3f48f15..da1e7128a94 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -869,8 +869,15 @@ use with M-x." (defun switch-to-buffer-other-window (buffer &optional norecord) "Select buffer BUFFER in another window. +If BUFFER does not identify an existing buffer, then this function +creates a buffer with that name. + +When called from Lisp, BUFFER can be a buffer, a string \(a buffer name), +or nil. If BUFFER is nil, then this function chooses a buffer +using `other-buffer'. Optional second arg NORECORD non-nil means do not put this buffer at the front of the list of recently selected ones. +This function returns the buffer it switched to. This uses the function `display-buffer' as a subroutine; see its documentation for additional customization information." -- 2.39.2