From 66ffe51c35f4101fc25007324dee0c4db6c8e55c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 5 Sep 2000 13:02:14 +0000 Subject: [PATCH] (Fother_buffer): Consider buffers as invisible when they are displayed in a window on an invisible frame. --- src/ChangeLog | 3 +++ src/buffer.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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)) -- 2.39.2