diff options
| author | Miles Bader | 2000-10-23 13:48:52 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-10-23 13:48:52 +0000 |
| commit | 6ffdb539525b201897ddd17a2798d1841eaa2547 (patch) | |
| tree | 70886400d175e8c7248190ea50faae31b6432ed0 /src | |
| parent | 7d7c38618c949e5db90814b5ef1294a05ccacd07 (diff) | |
| download | emacs-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')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/window.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c77f62324f8..3cb5ce46d45 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2000-10-23 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | ||
| 4 | Pass nil for FULLY argument to Fpos_visible_in_window_p to | ||
| 5 | maintain old behavior. | ||
| 6 | * minibuf.c (Fminibuffer_complete): Likewise. | ||
| 7 | |||
| 1 | 2000-10-23 Miles Bader <miles@lsi.nec.co.jp> | 8 | 2000-10-23 Miles Bader <miles@lsi.nec.co.jp> |
| 2 | 9 | ||
| 3 | * xterm.c (VCENTER_BASELINE_OFFSET): Bias the division by two, so | 10 | * xterm.c (VCENTER_BASELINE_OFFSET): Bias the division by two, so |
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 | { |