From 0383eb57dfd078de37c1871aad14c918e706fd7d Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 13 May 1995 01:43:30 +0000 Subject: [PATCH] (Fdelete_other_windows): Fix args to vmotion. --- src/window.c | 3 +-- 1 file changed, 1 insertion(+), 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.") Fset_buffer (w->buffer); /* This computation used to temporarily move point, but that can have unwanted side effects due to text properties. */ - pos = *vmotion (startpos, -top, window_internal_width (w) - 1, - XINT (w->hscroll), window); + pos = *vmotion (startpos, -top, w); Fset_marker (w->start, make_number (pos.bufpos), w->buffer); w->start_at_line_beg = ((pos.bufpos == BEGV || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt -- 2.39.2