# HG changeset patch # User Richard M. Stallman # Date 1078420513 0 # Node ID 840b8997440db3915f4fd258746a69c8af67fded # Parent 1f7cd275e61f2417db67a08edf5184717e943da6 (Fpop_to_buffer): Doc fix. diff -r 1f7cd275e61f -r 840b8997440d src/buffer.c --- a/src/buffer.c Thu Mar 04 17:10:27 2004 +0000 +++ b/src/buffer.c Thu Mar 04 17:15:13 2004 +0000 @@ -1675,8 +1675,9 @@ doc: /* Select buffer BUFFER in some window, preferably a different one. If BUFFER is nil, then some other buffer is chosen. If `pop-up-windows' is non-nil, windows can be split to do this. -If optional second arg OTHER-WINDOW is non-nil, insist on finding another -window even if BUFFER is already visible in the selected window. +If optional second arg OTHER-WINDOW is nil, insist on finding another +window even if BUFFER is already visible in the selected window, +and ignore `same-window-regexps' and `same-window-buffer-names'. This uses the function `display-buffer' as a subroutine; see the documentation of `display-buffer' for additional customization information.