From: Gerd Moellmann Date: Tue, 5 Sep 2000 13:02:14 +0000 (+0000) Subject: (Fother_buffer): Consider buffers as invisible when X-Git-Tag: emacs-pretest-21.0.90~1788 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66ffe51c35f4101fc25007324dee0c4db6c8e55c;p=emacs.git (Fother_buffer): Consider buffers as invisible when they are displayed in a window on an invisible frame. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2f746a329c3..bbaf75874fe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2000-09-05 Gerd Moellmann + * buffer.c (Fother_buffer): Consider buffers as invisible when + they are displayed in a window on an invisible frame. + * window.c (window_loop) : Fix bug making get-largest-window always return nil. diff --git a/src/buffer.c b/src/buffer.c index 50b982fb3fd..3a830476d03 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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))