diff options
| author | Richard M. Stallman | 1994-06-25 19:08:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-25 19:08:29 +0000 |
| commit | eb16ec06bbd73d1c2059e048cd385301e5510b68 (patch) | |
| tree | b373770f0ab18f2619306773ccccaab2eabfc9e9 | |
| parent | 50ca2717e6b98590b90d72cf757e4dc1ee7b696d (diff) | |
| download | emacs-eb16ec06bbd73d1c2059e048cd385301e5510b68.tar.gz emacs-eb16ec06bbd73d1c2059e048cd385301e5510b68.zip | |
(Fother_window_for_scrolling): New function.
(Fscroll_other_window): Use that.
(syms_of_window): defsubr it.
(Fsave_window_excursion): Doc fix.
| -rw-r--r-- | src/window.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 347a1f5ec95..0770c44e9d5 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -2348,6 +2348,7 @@ If in the minibuffer, `minibuffer-scroll-window' if non-nil\n\ | |||
| 2348 | specifies the window.\n\ | 2348 | specifies the window.\n\ |
| 2349 | If `other-window-scroll-buffer' is non-nil, a window\n\ | 2349 | If `other-window-scroll-buffer' is non-nil, a window\n\ |
| 2350 | showing that buffer is used.") | 2350 | showing that buffer is used.") |
| 2351 | () | ||
| 2351 | { | 2352 | { |
| 2352 | Lisp_Object window; | 2353 | Lisp_Object window; |
| 2353 | 2354 | ||
| @@ -2984,8 +2985,10 @@ redirection (see `redirect-frame-focus').") | |||
| 2984 | DEFUN ("save-window-excursion", Fsave_window_excursion, Ssave_window_excursion, | 2985 | DEFUN ("save-window-excursion", Fsave_window_excursion, Ssave_window_excursion, |
| 2985 | 0, UNEVALLED, 0, | 2986 | 0, UNEVALLED, 0, |
| 2986 | "Execute body, preserving window sizes and contents.\n\ | 2987 | "Execute body, preserving window sizes and contents.\n\ |
| 2987 | Restores which buffer appears in which window, where display starts,\n\ | 2988 | Restore which buffer appears in which window, where display starts,\n\ |
| 2988 | as well as the current buffer.\n\ | 2989 | and the value of point and mark for each window.\n\ |
| 2990 | Also restore which buffer is current.\n\ | ||
| 2991 | But do not preserve point in the current buffer.\n\ | ||
| 2989 | Does not restore the value of point in current buffer.") | 2992 | Does not restore the value of point in current buffer.") |
| 2990 | (args) | 2993 | (args) |
| 2991 | Lisp_Object args; | 2994 | Lisp_Object args; |