# HG changeset patch # User Luc Teirlinck # Date 1089512295 0 # Node ID 8fc5472a5271a8437ff87f9d699eedcc21fa4691 # Parent 245f03d9697ff60a5c5e657941aed9014c340dae (switch-to-buffer-other-window): Doc fix. diff -r 245f03d9697f -r 8fc5472a5271 lisp/files.el --- a/lisp/files.el Sun Jul 11 01:35:37 2004 +0000 +++ b/lisp/files.el Sun Jul 11 02:18:15 2004 +0000 @@ -869,8 +869,15 @@ (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."