diff options
| author | Richard M. Stallman | 2002-03-14 09:00:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-03-14 09:00:46 +0000 |
| commit | 996d82f8278c9c82f7e5e1bf1ff09f401ea3204b (patch) | |
| tree | c7ea1cbf5e1d372021aed929daee3d0e01398fdf | |
| parent | 1bd2023a375e0235541f6f8777703aa986b46cb7 (diff) | |
| download | emacs-996d82f8278c9c82f7e5e1bf1ff09f401ea3204b.tar.gz emacs-996d82f8278c9c82f7e5e1bf1ff09f401ea3204b.zip | |
Correct info on return values of switch-to-buffer and pop-to-buffer.
| -rw-r--r-- | lispref/windows.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi index 8534ce6ca06..3d828f4db5e 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -768,7 +768,7 @@ List}. | |||
| 768 | 768 | ||
| 769 | The @code{switch-to-buffer} function is often used interactively, as | 769 | The @code{switch-to-buffer} function is often used interactively, as |
| 770 | the binding of @kbd{C-x b}. It is also used frequently in programs. It | 770 | the binding of @kbd{C-x b}. It is also used frequently in programs. It |
| 771 | always returns @code{nil}. | 771 | returns the buffer that it switched to. |
| 772 | @end deffn | 772 | @end deffn |
| 773 | 773 | ||
| 774 | @deffn Command switch-to-buffer-other-window buffer-or-name &optional norecord | 774 | @deffn Command switch-to-buffer-other-window buffer-or-name &optional norecord |
| @@ -791,7 +791,7 @@ unless @var{norecord} is non-@code{nil}. | |||
| 791 | This function makes @var{buffer-or-name} the current buffer and | 791 | This function makes @var{buffer-or-name} the current buffer and |
| 792 | switches to it in some window, preferably not the window previously | 792 | switches to it in some window, preferably not the window previously |
| 793 | selected. The ``popped-to'' window becomes the selected window within | 793 | selected. The ``popped-to'' window becomes the selected window within |
| 794 | its frame. | 794 | its frame. The return value is the buffer that was switched to. |
| 795 | 795 | ||
| 796 | If the variable @code{pop-up-frames} is non-@code{nil}, | 796 | If the variable @code{pop-up-frames} is non-@code{nil}, |
| 797 | @code{pop-to-buffer} looks for a window in any visible frame already | 797 | @code{pop-to-buffer} looks for a window in any visible frame already |