projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bbd4ff
)
Fix scrolling
author
Basil L. Contovounesios
<contovob@tcd.ie>
Fri, 6 Jul 2018 23:23:21 +0000
(16:23 -0700)
committer
Daniel Colascione
<dancol@dancol.org>
Fri, 6 Jul 2018 23:23:21 +0000
(16:23 -0700)
* src/window.c (scroll_command): Fix scrolling.
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index 20f6862e3b4925fa4df2daa4faa9705b74f70496..8d1aed46dff6764a30e8436c324558847127c188 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-5654,7
+5654,7
@@
scroll_command (Lisp_Object window, Lisp_Object n, int direction)
/* If given window's buffer isn't current, make it current for
the moment. But don't screw up if window_scroll gets an error. */
- if (XBUFFER (w->contents) != current_buffer)
+ if (
other_window ||
XBUFFER (w->contents) != current_buffer)
{
record_unwind_protect_excursion ();
Fset_buffer (w->contents);