diff options
| author | Basil L. Contovounesios | 2018-05-03 13:52:20 +0100 |
|---|---|---|
| committer | Noam Postavsky | 2018-05-10 19:04:11 -0400 |
| commit | d5cf1b3160a5510198fc5dd4e28b3eca7aadf71b (patch) | |
| tree | 557d7cbce4e09fdde16e484967a41da632ae6917 /doc/lispref | |
| parent | dc9188ada522743dd9c9a6658570d9c4973be432 (diff) | |
| download | emacs-d5cf1b3160a5510198fc5dd4e28b3eca7aadf71b.tar.gz emacs-d5cf1b3160a5510198fc5dd4e28b3eca7aadf71b.zip | |
Improve documentation for "other window" scrolling
* doc/emacs/windows.texi (Other Window):
* doc/lispref/windows.texi (Textual Scrolling):
Document scroll-other-window-down.
* doc/lispref/minibuf.texi (Minibuffer Misc):
Cross-reference minibuffer-scroll-window with Textual Scrolling.
* src/window.c (Fother_window_for_scrolling):
Clarify how "other window" is determined in docstring.
(Fscroll_other_window): Simplify docstring, pointing to that of
Fother_window_for_scrolling. (bug#30207)
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/minibuf.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 338e03ef74d..889b64af8ae 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -2462,7 +2462,7 @@ locally inside the minibuffer (@pxref{Help Functions}). | |||
| 2462 | @anchor{Definition of minibuffer-scroll-window} | 2462 | @anchor{Definition of minibuffer-scroll-window} |
| 2463 | If the value of this variable is non-@code{nil}, it should be a window | 2463 | If the value of this variable is non-@code{nil}, it should be a window |
| 2464 | object. When the function @code{scroll-other-window} is called in the | 2464 | object. When the function @code{scroll-other-window} is called in the |
| 2465 | minibuffer, it scrolls this window. | 2465 | minibuffer, it scrolls this window (@pxref{Textual Scrolling}). |
| 2466 | @end defvar | 2466 | @end defvar |
| 2467 | 2467 | ||
| 2468 | @defun minibuffer-selected-window | 2468 | @defun minibuffer-selected-window |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index f5de2fc90ba..315ffd4f484 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -4028,6 +4028,13 @@ line reappears after the echo area momentarily displays the message | |||
| 4028 | @samp{End of buffer}. | 4028 | @samp{End of buffer}. |
| 4029 | @end deffn | 4029 | @end deffn |
| 4030 | 4030 | ||
| 4031 | @deffn Command scroll-other-window-down &optional count | ||
| 4032 | This function scrolls the text in another window downward @var{count} | ||
| 4033 | lines. Negative values of @var{count}, or @code{nil}, are handled as | ||
| 4034 | in @code{scroll-down}. In other respects, it behaves the same way as | ||
| 4035 | @code{scroll-other-window} does. | ||
| 4036 | @end deffn | ||
| 4037 | |||
| 4031 | @defvar other-window-scroll-buffer | 4038 | @defvar other-window-scroll-buffer |
| 4032 | If this variable is non-@code{nil}, it tells @code{scroll-other-window} | 4039 | If this variable is non-@code{nil}, it tells @code{scroll-other-window} |
| 4033 | which buffer's window to scroll. | 4040 | which buffer's window to scroll. |