diff options
| author | Gerd Moellmann | 2001-02-05 12:24:00 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-02-05 12:24:00 +0000 |
| commit | f53df7de16b6532870495b59dbb9adf20ec32f00 (patch) | |
| tree | 639836f5ad0b414964924f266d42767f04035d19 /src/window.c | |
| parent | b2065cb6ebaa193a00429927ba6f64a8f1a2215d (diff) | |
| download | emacs-f53df7de16b6532870495b59dbb9adf20ec32f00.tar.gz emacs-f53df7de16b6532870495b59dbb9adf20ec32f00.zip | |
(Fmove_to_window_line): Don't add 1 if window is
vscrolled.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 696da1767bd..769aa56a38d 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -4660,9 +4660,13 @@ zero means top of window, negative means relative to bottom of window.") | |||
| 4660 | XSETINT (arg, XINT (arg) + lines); | 4660 | XSETINT (arg, XINT (arg) + lines); |
| 4661 | } | 4661 | } |
| 4662 | 4662 | ||
| 4663 | #if 0 /* I don't understand why this is done. Among other things, | ||
| 4664 | it means that C-u 0 M-r moves to line 1, and C-u -1 M-r | ||
| 4665 | moves to the line below the window end. 2000-02-05, gerd */ | ||
| 4663 | if (w->vscroll) | 4666 | if (w->vscroll) |
| 4664 | /* Skip past a partially visible first line. */ | 4667 | /* Skip past a partially visible first line. */ |
| 4665 | XSETINT (arg, XINT (arg) + 1); | 4668 | XSETINT (arg, XINT (arg) + 1); |
| 4669 | #endif | ||
| 4666 | 4670 | ||
| 4667 | return Fvertical_motion (arg, window); | 4671 | return Fvertical_motion (arg, window); |
| 4668 | } | 4672 | } |