diff src/buffer.c @ 3785:3455cbb3339d

Don't let the 'B' interactive spec default to buffers viewed in any visible frame. * buffer.c (Fother_buffer): Pass Qvisible as the second argument to Fget_buffer_window. * window.c (Qvisible): New symbol. (window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible, ignore non-visible frames. (Fget_buffer_window): Expand doc string to mention that Qvisible is an interesting value for FRAME argument. (syms_of_window): Init and staticpro Qvisible. * lisp.h (Qvisible): New declaration.
author Jim Blandy <jimb@redhat.com>
date Thu, 17 Jun 1993 00:39:37 +0000
parents 16948869ab5b
children 594bc11c67ba
line wrap: on
line diff
--- a/src/buffer.c	Thu Jun 17 00:16:29 1993 +0000
+++ b/src/buffer.c	Thu Jun 17 00:39:37 1993 +0000
@@ -585,7 +585,7 @@
       if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ')
 	continue;
       if (NILP (visible_ok))
-	tem = Fget_buffer_window (buf, Qnil);
+	tem = Fget_buffer_window (buf, Qvisible);
       else
 	tem = Qnil;
       if (NILP (tem))