diff options
| author | Jim Blandy | 1993-06-17 05:05:53 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-17 05:05:53 +0000 |
| commit | db732e5a3d99f59620df5503510e61cb9db1fadc (patch) | |
| tree | ce43ffbbf7156d2834f13b8222f31126e8cc9528 /src | |
| parent | 856a73b38b584fe962f413176ab310cd2b7689a9 (diff) | |
| download | emacs-db732e5a3d99f59620df5503510e61cb9db1fadc.tar.gz emacs-db732e5a3d99f59620df5503510e61cb9db1fadc.zip | |
Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
* buffer.c (Fother_buffer): Pass Qt as the second argument
to Fget_buffer_window.
* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
non-visible frames.
(Fget_buffer_window): Change doc string to mention that passing Qt
for the FRAME argument returns windows on visible frames only.
Diffstat (limited to 'src')
| -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 f2d6ca37e74..d1680961e3b 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, Qvisible); | 588 | tem = Fget_buffer_window (buf, Qt); |
| 589 | else | 589 | else |
| 590 | tem = Qnil; | 590 | tem = Qnil; |
| 591 | if (NILP (tem)) | 591 | if (NILP (tem)) |