From: Karl Heuer Date: Tue, 16 May 1995 02:56:20 +0000 (+0000) Subject: (Frecenter): Fix args to vmotion (overlooked in May 13 change). X-Git-Tag: emacs-19.34~4029 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e55cbc223e1aeffb2e713208506372f15d2854f;p=emacs.git (Frecenter): Fix args to vmotion (overlooked in May 13 change). --- diff --git a/src/window.c b/src/window.c index 5ed0711d20a..1ef9404f7f1 100644 --- a/src/window.c +++ b/src/window.c @@ -2780,7 +2780,6 @@ redraws with point in the center of the current window.") 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 @@ redraws with point in the center of the current window.") 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