changeset 11829:89c0689c5b1e

(Frecenter): Fix args to vmotion (overlooked in May 13 change).
author Karl Heuer <kwzh@gnu.org>
date Tue, 16 May 1995 02:56:20 +0000
parents cb6c1026a0f7
children f92fb9b9e3c8
files src/window.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Tue May 16 01:47:11 1995 +0000
+++ b/src/window.c	Tue May 16 02:56:20 1995 +0000
@@ -2780,7 +2780,6 @@
   register struct window *w = XWINDOW (selected_window);
   register int ht = window_internal_height (w);
   struct position pos;
-  Lisp_Object window;
 
   if (NILP (n))
     {
@@ -2802,9 +2801,7 @@
   if (XINT (n) < 0)
     XSETINT (n, XINT (n) + ht);
 
-  XSETWINDOW (window, w);
-  pos = *vmotion (point, - XINT (n), window_internal_width (w) - 1,
-		  XINT (w->hscroll), window);
+  pos = *vmotion (point, - XINT (n), w);
 
   Fset_marker (w->start, make_number (pos.bufpos), w->buffer);
   w->start_at_line_beg = ((pos.bufpos == BEGV