Mercurial > emacs
changeset 35772:22d10a2fa31a
(Fscroll_right, Fscroll_left): Use interactive_p
instead of Finteractive_p.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 31 Jan 2001 14:47:44 +0000 |
parents | 959f9593632f |
children | 04bb0b45e18c |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Wed Jan 31 14:08:26 2001 +0000 +++ b/src/window.c Wed Jan 31 14:47:44 2001 +0000 @@ -4426,7 +4426,7 @@ 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 @@ 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;