diff options
| author | Eli Zaretskii | 2024-03-25 15:12:42 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-03-25 15:12:42 +0200 |
| commit | 9d3d77f12dac21c633cf10f111b0e4e574036b30 (patch) | |
| tree | a929a69edd35938e4cf51ee4f707fa0484d982f2 /src | |
| parent | 96fb71994246508f9bcaae95395d44042941f02d (diff) | |
| download | emacs-9d3d77f12dac21c633cf10f111b0e4e574036b30.tar.gz emacs-9d3d77f12dac21c633cf10f111b0e4e574036b30.zip | |
Fix documentation of 'other-window-for-scrolling'
* src/window.c (Fother_window_for_scrolling): More accurate
documentation of how "the other" window is looked for. Suggested
by Karthik Chikmagalur <karthikchikmagalur@gmail.com>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/window.c b/src/window.c index 8d4bde8d6db..3a8f864ec69 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -6452,13 +6452,16 @@ When calling from a program, supply as argument a number, nil, or `-'. */) | |||
| 6452 | } | 6452 | } |
| 6453 | 6453 | ||
| 6454 | DEFUN ("other-window-for-scrolling", Fother_window_for_scrolling, Sother_window_for_scrolling, 0, 0, 0, | 6454 | DEFUN ("other-window-for-scrolling", Fother_window_for_scrolling, Sother_window_for_scrolling, 0, 0, 0, |
| 6455 | doc: /* Return the other window for \"other window scroll\" commands. | 6455 | doc: /* Return \"the other\" window for \"other window scroll\" commands. |
| 6456 | If in the minibuffer, `minibuffer-scroll-window' if non-nil | 6456 | If in the minibuffer, and `minibuffer-scroll-window' is non-nil, |
| 6457 | specifies the window. | 6457 | it specifies the window to use. |
| 6458 | Otherwise, if `other-window-scroll-buffer' is non-nil, a window | 6458 | Otherwise, if `other-window-scroll-buffer' is a buffer, a window |
| 6459 | showing that buffer is used, popping the buffer up if necessary. | 6459 | showing that buffer is the window to use, popping it up if necessary. |
| 6460 | Finally, look for a neighboring window on the selected frame, | 6460 | Otherwise, if `other-window-scroll-default' is a function, call it, |
| 6461 | followed by all visible frames on the current terminal. */) | 6461 | and the window it returns is the window to use. |
| 6462 | Finally, the function looks for a neighboring window on the selected | ||
| 6463 | frame, followed by windows on all the visible frames on the current | ||
| 6464 | terminal. */) | ||
| 6462 | (void) | 6465 | (void) |
| 6463 | { | 6466 | { |
| 6464 | Lisp_Object window; | 6467 | Lisp_Object window; |