aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorMartin Rudalics2025-01-28 16:59:45 +0100
committerMartin Rudalics2025-01-28 16:59:45 +0100
commit7f01dd8906cbc8839ffecc55cfa7ff789f3fa298 (patch)
tree46f5bf6cf6f63a95e75e4c1438ecff10444df8eb /src/buffer.c
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 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 1b9092b107b..ed2f14ea9c0 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1729,7 +1729,8 @@ Buffers not visible in windows are preferred to visible buffers, unless
1729optional second argument VISIBLE-OK is non-nil. Ignore the argument 1729optional second argument VISIBLE-OK is non-nil. Ignore the argument
1730BUFFER unless it denotes a live buffer. If the optional third argument 1730BUFFER unless it denotes a live buffer. If the optional third argument
1731FRAME specifies a live frame, then use that frame's buffer list instead 1731FRAME specifies a live frame, then use that frame's buffer list instead
1732of the selected frame's buffer list. 1732of the selected frame's buffer list. Do not return a hidden buffer - a
1733buffer whose name starts with a space.
1733 1734
1734The buffer is found by scanning the selected or specified frame's buffer 1735The buffer is found by scanning the selected or specified frame's buffer
1735list first, followed by the list of all buffers. If no other buffer 1736list first, followed by the list of all buffers. If no other buffer