mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(Fdelete_other_windows): Fix args to vmotion.
This commit is contained in:
parent
87c67862f2
commit
0383eb57df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user