aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 1b6ac07955d..6f1fd59145a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4426,7 +4426,7 @@ Default for ARG is window width minus 2.")
4426 hscroll = XINT (w->hscroll) + XINT (arg); 4426 hscroll = XINT (w->hscroll) + XINT (arg);
4427 result = Fset_window_hscroll (selected_window, make_number (hscroll)); 4427 result = Fset_window_hscroll (selected_window, make_number (hscroll));
4428 4428
4429 if (!NILP (Finteractive_p ())) 4429 if (interactive_p (0))
4430 w->min_hscroll = w->hscroll; 4430 w->min_hscroll = w->hscroll;
4431 4431
4432 return result; 4432 return result;
@@ -4450,7 +4450,7 @@ Default for ARG is window width minus 2.")
4450 hscroll = XINT (w->hscroll) - XINT (arg); 4450 hscroll = XINT (w->hscroll) - XINT (arg);
4451 result = Fset_window_hscroll (selected_window, make_number (hscroll)); 4451 result = Fset_window_hscroll (selected_window, make_number (hscroll));
4452 4452
4453 if (!NILP (Finteractive_p ())) 4453 if (interactive_p (0))
4454 w->min_hscroll = w->hscroll; 4454 w->min_hscroll = w->hscroll;
4455 4455
4456 return result; 4456 return result;