aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-19 00:43:41 +0000
committerRichard M. Stallman1995-10-19 00:43:41 +0000
commitfad7d36167776d51aeb9bca213ed25147aeb116d (patch)
tree4386c691981151a107c0dfc3301790af01d29ea9
parentf9414d6226a5d8fc1152a0425641f15ef1677d6e (diff)
downloademacs-fad7d36167776d51aeb9bca213ed25147aeb116d.tar.gz
emacs-fad7d36167776d51aeb9bca213ed25147aeb116d.zip
Arg of other-buffer can't be a buffer name.
-rw-r--r--lispref/buffers.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index 9009a9b7733..a01d7e56922 100644
--- a/lispref/buffers.texi
+++ b/lispref/buffers.texi
@@ -651,15 +651,15 @@ This list is a copy of a list used inside Emacs; modifying it has no
651effect on the ordering of buffers. 651effect on the ordering of buffers.
652@end defun 652@end defun
653 653
654@defun other-buffer &optional buffer-or-name visible-ok 654@defun other-buffer &optional buffer visible-ok
655This function returns the first buffer in the buffer list other than 655This function returns the first buffer in the buffer list other than
656@var{buffer-or-name}. Usually this is the buffer most recently shown in 656@var{buffer}. Usually this is the buffer most recently shown in
657the selected window, aside from @var{buffer-or-name}. Buffers whose 657the selected window, aside from @var{buffer}. Buffers whose
658names start with a space are not considered. 658names start with a space are not considered.
659 659
660If @var{buffer-or-name} is not supplied (or if it is not a buffer), 660If @var{buffer} is not supplied (or if it is not a buffer), then
661then @code{other-buffer} returns the first buffer on the buffer list 661@code{other-buffer} returns the first buffer on the buffer list that is
662that is not visible in any window in a visible frame. 662not visible in any window in a visible frame.
663 663
664If the selected frame has a non-@code{nil} @code{buffer-predicate} 664If the selected frame has a non-@code{nil} @code{buffer-predicate}
665parameter, then @code{other-buffer} uses that predicate to decide which 665parameter, then @code{other-buffer} uses that predicate to decide which