Commit db732e5a authored by Jim Blandy's avatar Jim Blandy
Browse files

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.
parent 856a73b3
......@@ -585,7 +585,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned.")
if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ')
if (NILP (visible_ok))
tem = Fget_buffer_window (buf, Qvisible);
tem = Fget_buffer_window (buf, Qt);
tem = Qnil;
if (NILP (tem))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment