summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-03-04 17:15:13 +0000
committerRichard M. Stallman <rms@gnu.org>2004-03-04 17:15:13 +0000
commitae47339f7153f9ba2e8dfbbb8e1032f9f7979a77 (patch)
tree1824ca4af7c6bb184063064eaf207c2dfc62a846
parent38e82e480ee26600bdbb2a10463e47bfa039cf0d (diff)
downloademacs-ae47339f7153f9ba2e8dfbbb8e1032f9f7979a77.tar.gz
(Fpop_to_buffer): Doc fix.
-rw-r--r--src/buffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index ad1dde93da7..27b12845c50 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1675,8 +1675,9 @@ DEFUN ("pop-to-buffer", Fpop_to_buffer, Spop_to_buffer, 1, 3, 0,
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.