Commit f8f645a1 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fcompute_motion): Use new accessor macros instead of calling XSET directly.

parent 2d80a27a
......@@ -698,9 +698,9 @@ DEFUN ("compute-motion", Fcompute_motion, Scompute_motion, 7, 7, 0,
XWINDOW (window));
XFASTINT (bufpos) = pos->bufpos;
XSET (hpos, Lisp_Int, pos->hpos);
XSET (vpos, Lisp_Int, pos->vpos);
XSET (prevhpos, Lisp_Int, pos->prevhpos);
XSETINT (hpos, pos->hpos);
XSETINT (vpos, pos->vpos);
XSETINT (prevhpos, pos->prevhpos);
return Fcons (bufpos,
Fcons (hpos,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment