Commit f5686fbd authored by Gerd Moellmann's avatar Gerd Moellmann

(Fscroll_right, Fscroll_left): Use interactive_p

instead of Finteractive_p.
parent 7ccf7ab9
......@@ -4426,7 +4426,7 @@ Default for ARG is window width minus 2.")
hscroll = XINT (w->hscroll) + XINT (arg);
result = Fset_window_hscroll (selected_window, make_number (hscroll));
if (!NILP (Finteractive_p ()))
if (interactive_p (0))
w->min_hscroll = w->hscroll;
return result;
......@@ -4450,7 +4450,7 @@ Default for ARG is window width minus 2.")
hscroll = XINT (w->hscroll) - XINT (arg);
result = Fset_window_hscroll (selected_window, make_number (hscroll));
if (!NILP (Finteractive_p ()))
if (interactive_p (0))
w->min_hscroll = w->hscroll;
return result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment