From ae47339f7153f9ba2e8dfbbb8e1032f9f7979a77 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 4 Mar 2004 17:15:13 +0000 Subject: [PATCH] (Fpop_to_buffer): Doc fix. --- src/buffer.c | 5 +++-- 1 file 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. -- 2.39.5