# HG changeset patch # User Richard M. Stallman # Date 814063421 0 # Node ID 750f4d22537fc78c980bf04846c40e8cd2937657 # Parent 47725e106652b0bef397a0a1822460136b97279f Arg of other-buffer can't be a buffer name. diff -r 47725e106652 -r 750f4d22537f lispref/buffers.texi --- a/lispref/buffers.texi Thu Oct 19 00:20:44 1995 +0000 +++ b/lispref/buffers.texi Thu Oct 19 00:43:41 1995 +0000 @@ -651,15 +651,15 @@ 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