(Fother_buffer): Consider buffers as invisible when

they are displayed in a window on an invisible frame.
This commit is contained in:
Gerd Moellmann 2000-09-05 13:02:14 +00:00
parent 877055f695
commit 66ffe51c35
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2000-09-05 Gerd Moellmann <gerd@gnu.org>
* buffer.c (Fother_buffer): Consider buffers as invisible when
they are displayed in a window on an invisible frame.
* window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making
get-largest-window always return nil.

View file

@ -1047,7 +1047,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned.")
}
if (NILP (visible_ok))
tem = Fget_buffer_window (buf, Qt);
tem = Fget_buffer_window (buf, Qvisible);
else
tem = Qnil;
if (NILP (tem))