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>.
This commit is contained in:
parent
96fb719942
commit
9d3d77f12d
1 changed files with 10 additions and 7 deletions
17
src/window.c
17
src/window.c
|
@ -6452,13 +6452,16 @@ When calling from a program, supply as argument a number, nil, or `-'. */)
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN ("other-window-for-scrolling", Fother_window_for_scrolling, Sother_window_for_scrolling, 0, 0, 0,
|
DEFUN ("other-window-for-scrolling", Fother_window_for_scrolling, Sother_window_for_scrolling, 0, 0, 0,
|
||||||
doc: /* Return the other window for \"other window scroll\" commands.
|
doc: /* Return \"the other\" window for \"other window scroll\" commands.
|
||||||
If in the minibuffer, `minibuffer-scroll-window' if non-nil
|
If in the minibuffer, and `minibuffer-scroll-window' is non-nil,
|
||||||
specifies the window.
|
it specifies the window to use.
|
||||||
Otherwise, if `other-window-scroll-buffer' is non-nil, a window
|
Otherwise, if `other-window-scroll-buffer' is a buffer, a window
|
||||||
showing that buffer is used, popping the buffer up if necessary.
|
showing that buffer is the window to use, popping it up if necessary.
|
||||||
Finally, look for a neighboring window on the selected frame,
|
Otherwise, if `other-window-scroll-default' is a function, call it,
|
||||||
followed by all visible frames on the current terminal. */)
|
and the window it returns is the window to use.
|
||||||
|
Finally, the function looks for a neighboring window on the selected
|
||||||
|
frame, followed by windows on all the visible frames on the current
|
||||||
|
terminal. */)
|
||||||
(void)
|
(void)
|
||||||
{
|
{
|
||||||
Lisp_Object window;
|
Lisp_Object window;
|
||||||
|
|
Loading…
Add table
Reference in a new issue