diff options
| author | Jim Blandy | 1993-06-17 00:39:37 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-17 00:39:37 +0000 |
| commit | 75d8f6686c49706c474ac485c1786cea73a1b7c7 (patch) | |
| tree | 483efbe7450ff22723590ed848fdda1d69a41416 /src/buffer.c | |
| parent | 2b0f4ba538126e4ebcda851d5acac2b6fbf47c96 (diff) | |
| download | emacs-75d8f6686c49706c474ac485c1786cea73a1b7c7.tar.gz emacs-75d8f6686c49706c474ac485c1786cea73a1b7c7.zip | |
Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
* buffer.c (Fother_buffer): Pass Qvisible as the second argument
to Fget_buffer_window.
* window.c (Qvisible): New symbol.
(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
ignore non-visible frames.
(Fget_buffer_window): Expand doc string to mention that Qvisible
is an interesting value for FRAME argument.
(syms_of_window): Init and staticpro Qvisible.
* lisp.h (Qvisible): New declaration.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index b19cfcaa737..f2d6ca37e74 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -585,7 +585,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned.") | |||
| 585 | if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ') | 585 | if (XSTRING (XBUFFER (buf)->name)->data[0] == ' ') |
| 586 | continue; | 586 | continue; |
| 587 | if (NILP (visible_ok)) | 587 | if (NILP (visible_ok)) |
| 588 | tem = Fget_buffer_window (buf, Qnil); | 588 | tem = Fget_buffer_window (buf, Qvisible); |
| 589 | else | 589 | else |
| 590 | tem = Qnil; | 590 | tem = Qnil; |
| 591 | if (NILP (tem)) | 591 | if (NILP (tem)) |