diff options
| author | Gerd Moellmann | 2001-01-31 14:47:44 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-31 14:47:44 +0000 |
| commit | f5686fbd5a084931344446f871dbff7ac6eef0b6 (patch) | |
| tree | 64b70f947eb328afd23edc3568b5775e30c2b527 /src | |
| parent | 7ccf7ab9d19020035a32bef3b06f7d5520ada5e7 (diff) | |
| download | emacs-f5686fbd5a084931344446f871dbff7ac6eef0b6.tar.gz emacs-f5686fbd5a084931344446f871dbff7ac6eef0b6.zip | |
(Fscroll_right, Fscroll_left): Use interactive_p
instead of Finteractive_p.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 4 |
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; |