diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/window.c b/src/window.c index 59c94220294..af317674bb6 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5696,11 +5696,12 @@ When calling from a program, supply as argument a number, nil, or `-'. */) | |||
| 5696 | 5696 | ||
| 5697 | DEFUN ("other-window-for-scrolling", Fother_window_for_scrolling, Sother_window_for_scrolling, 0, 0, 0, | 5697 | DEFUN ("other-window-for-scrolling", Fother_window_for_scrolling, Sother_window_for_scrolling, 0, 0, 0, |
| 5698 | doc: /* Return the other window for \"other window scroll\" commands. | 5698 | doc: /* Return the other window for \"other window scroll\" commands. |
| 5699 | If `other-window-scroll-buffer' is non-nil, a window | ||
| 5700 | showing that buffer is used. | ||
| 5701 | If in the minibuffer, `minibuffer-scroll-window' if non-nil | 5699 | If in the minibuffer, `minibuffer-scroll-window' if non-nil |
| 5702 | specifies the window. This takes precedence over | 5700 | specifies the window. |
| 5703 | `other-window-scroll-buffer'. */) | 5701 | Otherwise, if `other-window-scroll-buffer' is non-nil, a window |
| 5702 | showing that buffer is used, popping the buffer up if necessary. | ||
| 5703 | Finally, look for a neighboring window on the selected frame, | ||
| 5704 | followed by all visible frames on the current terminal. */) | ||
| 5704 | (void) | 5705 | (void) |
| 5705 | { | 5706 | { |
| 5706 | Lisp_Object window; | 5707 | Lisp_Object window; |
| @@ -5739,16 +5740,14 @@ specifies the window. This takes precedence over | |||
| 5739 | DEFUN ("scroll-other-window", Fscroll_other_window, Sscroll_other_window, 0, 1, "P", | 5740 | DEFUN ("scroll-other-window", Fscroll_other_window, Sscroll_other_window, 0, 1, "P", |
| 5740 | doc: /* Scroll next window upward ARG lines; or near full screen if no ARG. | 5741 | doc: /* Scroll next window upward ARG lines; or near full screen if no ARG. |
| 5741 | A near full screen is `next-screen-context-lines' less than a full screen. | 5742 | A near full screen is `next-screen-context-lines' less than a full screen. |
| 5742 | The next window is the one below the current one; or the one at the top | 5743 | Negative ARG means scroll downward. If ARG is the atom `-', scroll |
| 5743 | if the current one is at the bottom. Negative ARG means scroll downward. | 5744 | downward by nearly full screen. When calling from a program, supply |
| 5744 | If ARG is the atom `-', scroll downward by nearly full screen. | 5745 | as argument a number, nil, or `-'. |
| 5745 | When calling from a program, supply as argument a number, nil, or `-'. | 5746 | |
| 5746 | 5747 | The next window is usually the one below the current one; | |
| 5747 | If `other-window-scroll-buffer' is non-nil, scroll the window | 5748 | or the one at the top if the current one is at the bottom. |
| 5748 | showing that buffer, popping the buffer up if necessary. | 5749 | It is determined by the function `other-window-for-scrolling', |
| 5749 | If in the minibuffer, `minibuffer-scroll-window' if non-nil | 5750 | which see. */) |
| 5750 | specifies the window to scroll. This takes precedence over | ||
| 5751 | `other-window-scroll-buffer'. */) | ||
| 5752 | (Lisp_Object arg) | 5751 | (Lisp_Object arg) |
| 5753 | { | 5752 | { |
| 5754 | Lisp_Object window; | 5753 | Lisp_Object window; |