# HG changeset patch # User Jim Blandy # Date 740293553 0 # Node ID 594bc11c67ba1729913296051a7551a2c6d1eb19 # Parent 13592aebe35e4602202c746bf4b8ddd488494306 Don't let the 'B' interactive spec default to buffers viewed in any visible frame. * buffer.c (Fother_buffer): Pass Qt as the second argument to Fget_buffer_window. * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore non-visible frames. (Fget_buffer_window): Change doc string to mention that passing Qt for the FRAME argument returns windows on visible frames only. diff -r 13592aebe35e -r 594bc11c67ba src/buffer.c --- a/src/buffer.c Thu Jun 17 05:04:57 1993 +0000 +++ b/src/buffer.c Thu Jun 17 05:05:53 1993 +0000 @@ -585,7 +585,7 @@ if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ') continue; if (NILP (visible_ok)) - tem = Fget_buffer_window (buf, Qvisible); + tem = Fget_buffer_window (buf, Qt); else tem = Qnil; if (NILP (tem))