summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-13 01:43:30 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-13 01:43:30 +0000
commitfa257daba898b73edd08d0fcb2a3e869dcb434cb (patch)
tree1e767ce5b8aafdac504600c806ab56e6b5fe037d /src/window.c
parente8f6ad28a83098a6e6179a83ef9ba16c38d8dbcc (diff)
downloademacs-fa257daba898b73edd08d0fcb2a3e869dcb434cb.tar.gz
(Fdelete_other_windows): Fix args to vmotion.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
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.")
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