mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
(Fother_window_for_scrolling): New function.
(Fscroll_other_window): Use that. (syms_of_window): defsubr it. (Fsave_window_excursion): Doc fix.
This commit is contained in:
parent
50ca2717e6
commit
eb16ec06bb
1 changed files with 5 additions and 2 deletions
|
|
@ -2348,6 +2348,7 @@ If in the minibuffer, `minibuffer-scroll-window' if non-nil\n\
|
|||
specifies the window.\n\
|
||||
If `other-window-scroll-buffer' is non-nil, a window\n\
|
||||
showing that buffer is used.")
|
||||
()
|
||||
{
|
||||
Lisp_Object window;
|
||||
|
||||
|
|
@ -2984,8 +2985,10 @@ redirection (see `redirect-frame-focus').")
|
|||
DEFUN ("save-window-excursion", Fsave_window_excursion, Ssave_window_excursion,
|
||||
0, UNEVALLED, 0,
|
||||
"Execute body, preserving window sizes and contents.\n\
|
||||
Restores which buffer appears in which window, where display starts,\n\
|
||||
as well as the current buffer.\n\
|
||||
Restore which buffer appears in which window, where display starts,\n\
|
||||
and the value of point and mark for each window.\n\
|
||||
Also restore which buffer is current.\n\
|
||||
But do not preserve point in the current buffer.\n\
|
||||
Does not restore the value of point in current buffer.")
|
||||
(args)
|
||||
Lisp_Object args;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue