diff options
| author | Gerd Moellmann | 2000-09-05 13:02:14 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-05 13:02:14 +0000 |
| commit | 66ffe51c35f4101fc25007324dee0c4db6c8e55c (patch) | |
| tree | a5d8d63c6678687399ba8092622b7996f87842c6 /src | |
| parent | 877055f695e4fdc30068f97642cd2ecd811231ac (diff) | |
| download | emacs-66ffe51c35f4101fc25007324dee0c4db6c8e55c.tar.gz emacs-66ffe51c35f4101fc25007324dee0c4db6c8e55c.zip | |
(Fother_buffer): Consider buffers as invisible when
they are displayed in a window on an invisible frame.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/buffer.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2f746a329c3..bbaf75874fe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2000-09-05 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-05 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * buffer.c (Fother_buffer): Consider buffers as invisible when | ||
| 4 | they are displayed in a window on an invisible frame. | ||
| 5 | |||
| 3 | * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making | 6 | * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making |
| 4 | get-largest-window always return nil. | 7 | get-largest-window always return nil. |
| 5 | 8 | ||
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.") | |||
| 1047 | } | 1047 | } |
| 1048 | 1048 | ||
| 1049 | if (NILP (visible_ok)) | 1049 | if (NILP (visible_ok)) |
| 1050 | tem = Fget_buffer_window (buf, Qt); | 1050 | tem = Fget_buffer_window (buf, Qvisible); |
| 1051 | else | 1051 | else |
| 1052 | tem = Qnil; | 1052 | tem = Qnil; |
| 1053 | if (NILP (tem)) | 1053 | if (NILP (tem)) |