diff options
| author | Basil L. Contovounesios | 2018-07-06 16:23:21 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2018-07-06 16:23:21 -0700 |
| commit | 6c60c4e2ff6a8c2d70b67fca868c27ebb125ee4d (patch) | |
| tree | 9e92f9ee449f625b71b51782cb6d36db484a5cea /src | |
| parent | 3bbd4ffc68bcc2b3e003a2179a508b82055ad770 (diff) | |
| download | emacs-6c60c4e2ff6a8c2d70b67fca868c27ebb125ee4d.tar.gz emacs-6c60c4e2ff6a8c2d70b67fca868c27ebb125ee4d.zip | |
Fix scrolling
* src/window.c (scroll_command): Fix scrolling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 20f6862e3b4..8d1aed46dff 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5654,7 +5654,7 @@ scroll_command (Lisp_Object window, Lisp_Object n, int direction) | |||
| 5654 | 5654 | ||
| 5655 | /* If given window's buffer isn't current, make it current for | 5655 | /* If given window's buffer isn't current, make it current for |
| 5656 | the moment. But don't screw up if window_scroll gets an error. */ | 5656 | the moment. But don't screw up if window_scroll gets an error. */ |
| 5657 | if (XBUFFER (w->contents) != current_buffer) | 5657 | if (other_window || XBUFFER (w->contents) != current_buffer) |
| 5658 | { | 5658 | { |
| 5659 | record_unwind_protect_excursion (); | 5659 | record_unwind_protect_excursion (); |
| 5660 | Fset_buffer (w->contents); | 5660 | Fset_buffer (w->contents); |