summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-19 00:43:41 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-19 00:43:41 +0000
commit1e158f3e476e18bf534a6358df6cf8e065f41879 (patch)
tree60c80b17d18274c4b3adaa8f038c24c64aaa65f0 /lispref
parent7a4b1927a38ab52cb5a99ebab0b8f2a2c5c766bc (diff)
downloademacs-1e158f3e476e18bf534a6358df6cf8e065f41879.tar.gz
Arg of other-buffer can't be a buffer name.
Diffstat (limited to 'lispref')
-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
effect on the ordering of buffers.
@end defun
-@defun other-buffer &optional buffer-or-name visible-ok
+@defun other-buffer &optional buffer visible-ok
This function returns the first buffer in the buffer list other than
-@var{buffer-or-name}. Usually this is the buffer most recently shown in
-the selected window, aside from @var{buffer-or-name}. Buffers whose
+@var{buffer}. Usually this is the buffer most recently shown in
+the selected window, aside from @var{buffer}. Buffers whose
names start with a space are not considered.
-If @var{buffer-or-name} is not supplied (or if it is not a buffer),
-then @code{other-buffer} returns the first buffer on the buffer list
-that is not visible in any window in a visible frame.
+If @var{buffer} is not supplied (or if it is not a buffer), then
+@code{other-buffer} returns the first buffer on the buffer list that is
+not visible in any window in a visible frame.
If the selected frame has a non-@code{nil} @code{buffer-predicate}
parameter, then @code{other-buffer} uses that predicate to decide which