aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Rudalics2025-01-28 16:59:45 +0100
committerMartin Rudalics2025-01-28 16:59:45 +0100
commit7f01dd8906cbc8839ffecc55cfa7ff789f3fa298 (patch)
tree46f5bf6cf6f63a95e75e4c1438ecff10444df8eb /doc
parentc400ac680f4db86686126876e2d709b1e6099544 (diff)
downloademacs-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.texi7
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.
163On graphical terminals, however, the window system may select the 163On graphical terminals, however, the window system may select the
164new frame for its own reasons. 164new frame for its own reasons.
165
166By default this function does not display the current buffer in the new
167frame if the buffer is hidden, that is, if its name starts with a space.
168In this case it will show another buffer - one that could be returned by
169the function @code{other-buffer} (@pxref{Buffer List}) - instead.
170However, if the variable @code{expose-hidden-buffer} is non-@code{nil},
171this 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