; Fix last change

* src/buffer.c (Fother_buffer):
* lisp/frame.el (make-frame):
* doc/lispref/frames.texi (Creating Frames): Fix em-dash.
This commit is contained in:
Eli Zaretskii 2025-01-28 18:18:24 +02:00
parent 7f01dd8906
commit 8c4a4b4eab
3 changed files with 5 additions and 5 deletions

View file

@ -165,8 +165,8 @@ new frame for its own reasons.
By default this function does not display the current buffer in the new
frame if the buffer is hidden, that is, if its name starts with a space.
In this case it will show another buffer - one that could be returned by
the function @code{other-buffer} (@pxref{Buffer List}) - instead.
In this case it will show another buffer---one that could be returned by
the function @code{other-buffer} (@pxref{Buffer List})---instead.
However, if the variable @code{expose-hidden-buffer} is non-@code{nil},
this function will display the current buffer even if it is hidden.
@end deffn

View file

@ -953,7 +953,7 @@ the new frame according to its own rules.
By default do not display the current buffer in the new frame if the
buffer is hidden, that is, if the buffer's name starts with a space.
Display another buffer - one that could be returned by `other-buffer' -
Display another buffer, one that could be returned by `other-buffer',
instead. However, if `expose-hidden-buffer' is non-nil, display the
current buffer even if it is hidden."
(interactive)

View file

@ -1729,8 +1729,8 @@ Buffers not visible in windows are preferred to visible buffers, unless
optional second argument VISIBLE-OK is non-nil. Ignore the argument
BUFFER unless it denotes a live buffer. If the optional third argument
FRAME specifies a live frame, then use that frame's buffer list instead
of the selected frame's buffer list. Do not return a hidden buffer - a
buffer whose name starts with a space.
of the selected frame's buffer list. Do not return a hidden buffer --
a buffer whose name starts with a space.
The buffer is found by scanning the selected or specified frame's buffer
list first, followed by the list of all buffers. If no other buffer