Commit b5a6948e authored by Karl Heuer's avatar Karl Heuer

(Fnarrow_to_region): Swap using temp Lisp_Object, not int.

parent 83951f1e
......@@ -1403,16 +1403,13 @@ or markers) bounding the text that should remain visible.")
(b, e)
register Lisp_Object b, e;
{
register EMACS_INT i;
CHECK_NUMBER_COERCE_MARKER (b, 0);
CHECK_NUMBER_COERCE_MARKER (e, 1);
if (XINT (b) > XINT (e))
{
i = XFASTINT (b);
b = e;
XSETFASTINT (e, i);
Lisp_Object tem;
tem = b; b = e; e = tem;
}
if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z))
......
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