Mercurial > emacs
changeset 6586:de99006a8b38
(Fcompute_motion): Don't use XFASTINT on possibly-negative coords.
Also another doc fix.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 30 Mar 1994 03:02:02 +0000 |
parents | 0e26a2431fa2 |
children | 168667ab5085 |
files | src/indent.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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,