aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMiles Bader2000-10-23 13:48:52 +0000
committerMiles Bader2000-10-23 13:48:52 +0000
commit6ffdb539525b201897ddd17a2798d1841eaa2547 (patch)
tree70886400d175e8c7248190ea50faae31b6432ed0 /src/window.c
parent7d7c38618c949e5db90814b5ef1294a05ccacd07 (diff)
downloademacs-6ffdb539525b201897ddd17a2798d1841eaa2547.tar.gz
emacs-6ffdb539525b201897ddd17a2798d1841eaa2547.zip
(window_scroll_pixel_based, window_scroll_line_based):
Pass nil for FULLY argument to Fpos_visible_in_window_p to maintain old behavior.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index ee7a10f9806..f11436b65b2 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3842,7 +3842,7 @@ window_scroll_pixel_based (window, n, whole, noerror)
3842 /* If PT is not visible in WINDOW, move back one half of 3842 /* If PT is not visible in WINDOW, move back one half of
3843 the screen. */ 3843 the screen. */
3844 XSETFASTINT (tem, PT); 3844 XSETFASTINT (tem, PT);
3845 tem = Fpos_visible_in_window_p (tem, window, Qt); 3845 tem = Fpos_visible_in_window_p (tem, window, Qnil);
3846 if (NILP (tem)) 3846 if (NILP (tem))
3847 { 3847 {
3848 /* Move backward half the height of the window. Performance note: 3848 /* Move backward half the height of the window. Performance note:
@@ -3986,7 +3986,7 @@ window_scroll_line_based (window, n, whole, noerror)
3986 original_vpos = posit.vpos; 3986 original_vpos = posit.vpos;
3987 3987
3988 XSETFASTINT (tem, PT); 3988 XSETFASTINT (tem, PT);
3989 tem = Fpos_visible_in_window_p (tem, window, Qt); 3989 tem = Fpos_visible_in_window_p (tem, window, Qnil);
3990 3990
3991 if (NILP (tem)) 3991 if (NILP (tem))
3992 { 3992 {