diff options
| author | Karl Heuer | 1995-05-13 01:43:30 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-13 01:43:30 +0000 |
| commit | 0383eb57dfd078de37c1871aad14c918e706fd7d (patch) | |
| tree | 5263f88b62e881ef2a30ad531b5eaba08b785cd4 /src/window.c | |
| parent | 87c67862f2696d2fe416beba34bc154325163b75 (diff) | |
| download | emacs-0383eb57dfd078de37c1871aad14c918e706fd7d.tar.gz emacs-0383eb57dfd078de37c1871aad14c918e706fd7d.zip | |
(Fdelete_other_windows): Fix args to vmotion.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 53c5e274f62..5ed0711d20a 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1525,8 +1525,7 @@ value is reasonable when this function is called.") | |||
| 1525 | Fset_buffer (w->buffer); | 1525 | Fset_buffer (w->buffer); |
| 1526 | /* This computation used to temporarily move point, but that can | 1526 | /* This computation used to temporarily move point, but that can |
| 1527 | have unwanted side effects due to text properties. */ | 1527 | have unwanted side effects due to text properties. */ |
| 1528 | pos = *vmotion (startpos, -top, window_internal_width (w) - 1, | 1528 | pos = *vmotion (startpos, -top, w); |
| 1529 | XINT (w->hscroll), window); | ||
| 1530 | Fset_marker (w->start, make_number (pos.bufpos), w->buffer); | 1529 | Fset_marker (w->start, make_number (pos.bufpos), w->buffer); |
| 1531 | w->start_at_line_beg = ((pos.bufpos == BEGV | 1530 | w->start_at_line_beg = ((pos.bufpos == BEGV |
| 1532 | || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt | 1531 | || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt |