# HG changeset patch # User Karl Heuer # Date 764996522 0 # Node ID de99006a8b3842c43729a2fec7b3dc1cebbdefab # Parent 0e26a2431fa2ce949a8138542a5748bcd5f795ab (Fcompute_motion): Don't use XFASTINT on possibly-negative coords. Also another doc fix. diff -r 0e26a2431fa2 -r de99006a8b38 src/indent.c --- a/src/indent.c Wed Mar 30 02:29:28 1994 +0000 +++ b/src/indent.c Wed Mar 30 03:02:02 1994 +0000 @@ -631,7 +631,7 @@ If OFFSETS is nil, HSCROLL and TAB-OFFSET are assumed to be zero.\n\ \n\ The value is a list of five elements:\n\ - (POS VPOS HPOS PREVHPOS CONTIN)\n\ + (POS HPOS VPOS PREVHPOS CONTIN)\n\ POS is the buffer position where the scan stopped.\n\ VPOS is the vertical position where the scan stopped.\n\ HPOS is the horizontal position where the scan stopped.\n\ @@ -679,9 +679,9 @@ XINT (width), hscroll, tab_offset); XFASTINT (bufpos) = pos->bufpos; - XFASTINT (hpos) = pos->hpos; + XSET (hpos, Lisp_Int, pos->hpos); XSET (vpos, Lisp_Int, pos->vpos); - XFASTINT (prevhpos) = pos->prevhpos; + XSET (prevhpos, Lisp_Int, pos->prevhpos); return Fcons (bufpos, Fcons (hpos,