diff options
| author | Richard M. Stallman | 1995-10-19 00:43:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-19 00:43:41 +0000 |
| commit | fad7d36167776d51aeb9bca213ed25147aeb116d (patch) | |
| tree | 4386c691981151a107c0dfc3301790af01d29ea9 | |
| parent | f9414d6226a5d8fc1152a0425641f15ef1677d6e (diff) | |
| download | emacs-fad7d36167776d51aeb9bca213ed25147aeb116d.tar.gz emacs-fad7d36167776d51aeb9bca213ed25147aeb116d.zip | |
Arg of other-buffer can't be a buffer name.
| -rw-r--r-- | lispref/buffers.texi | 12 |
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 | |||
| 651 | effect on the ordering of buffers. | 651 | effect 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 |
| 655 | This function returns the first buffer in the buffer list other than | 655 | This 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 |
| 657 | the selected window, aside from @var{buffer-or-name}. Buffers whose | 657 | the selected window, aside from @var{buffer}. Buffers whose |
| 658 | names start with a space are not considered. | 658 | names start with a space are not considered. |
| 659 | 659 | ||
| 660 | If @var{buffer-or-name} is not supplied (or if it is not a buffer), | 660 | If @var{buffer} is not supplied (or if it is not a buffer), then |
| 661 | then @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 |
| 662 | that is not visible in any window in a visible frame. | 662 | not visible in any window in a visible frame. |
| 663 | 663 | ||
| 664 | If the selected frame has a non-@code{nil} @code{buffer-predicate} | 664 | If the selected frame has a non-@code{nil} @code{buffer-predicate} |
| 665 | parameter, then @code{other-buffer} uses that predicate to decide which | 665 | parameter, then @code{other-buffer} uses that predicate to decide which |