diff options
| author | Martin Rudalics | 2025-01-28 16:59:45 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2025-01-28 16:59:45 +0100 |
| commit | 7f01dd8906cbc8839ffecc55cfa7ff789f3fa298 (patch) | |
| tree | 46f5bf6cf6f63a95e75e4c1438ecff10444df8eb /doc | |
| parent | c400ac680f4db86686126876e2d709b1e6099544 (diff) | |
| download | emacs-7f01dd8906cbc8839ffecc55cfa7ff789f3fa298.tar.gz emacs-7f01dd8906cbc8839ffecc55cfa7ff789f3fa298.zip | |
New variable 'expose-hidden-buffer' (Bug#75828)
* src/frame.c (make_frame): Handle 'expose-hidden-buffer'.
(expose-hidden-buffer): New variable to handle hidden buffers.
* src/buffer.c (Fother_buffer): Mention that it does not return
a hidden buffer.
* lisp/frame.el (make-frame): In doc-string describe handling
of hidden buffers.
* doc/lispref/frames.texi (Creating Frames): Explain handling
of hidden buffers in description of 'make-frame'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/frames.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index c71b977550e..52af34389c5 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -162,6 +162,13 @@ This function itself does not make the new frame the selected frame. | |||
| 162 | @xref{Input Focus}. The previously selected frame remains selected. | 162 | @xref{Input Focus}. The previously selected frame remains selected. |
| 163 | On graphical terminals, however, the window system may select the | 163 | On graphical terminals, however, the window system may select the |
| 164 | new frame for its own reasons. | 164 | new frame for its own reasons. |
| 165 | |||
| 166 | By default this function does not display the current buffer in the new | ||
| 167 | frame if the buffer is hidden, that is, if its name starts with a space. | ||
| 168 | In this case it will show another buffer - one that could be returned by | ||
| 169 | the function @code{other-buffer} (@pxref{Buffer List}) - instead. | ||
| 170 | However, if the variable @code{expose-hidden-buffer} is non-@code{nil}, | ||
| 171 | this function will display the current buffer even if it is hidden. | ||
| 165 | @end deffn | 172 | @end deffn |
| 166 | 173 | ||
| 167 | @defvar before-make-frame-hook | 174 | @defvar before-make-frame-hook |