# HG changeset patch # User Karl Heuer # Date 781291328 0 # Node ID 1ff5359ac9322cfff0e23ebcd94a537a9847f129 # Parent bbf226780027efa579c696a99d8def1fc07e10c1 (Fself_insert_command, Fnewline): Don't use XFASTINT as an lvalue. diff -r bbf226780027 -r 1ff5359ac932 src/cmds.c --- a/src/cmds.c Tue Oct 04 17:19:36 1994 +0000 +++ b/src/cmds.c Tue Oct 04 17:22:08 1994 +0000 @@ -222,7 +222,8 @@ else while (XINT (arg) > 0) { - XFASTINT (arg)--; /* Ok since old and new vals both nonneg */ + /* Ok since old and new vals both nonneg */ + XSETFASTINT (arg, XFASTINT (arg) - 1); internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); } @@ -277,7 +278,8 @@ insert (&c1, 1); else internal_self_insert ('\n', !NILP (arg1)); - XFASTINT (arg)--; /* Ok since old and new vals both nonneg */ + /* Ok since old and new vals both nonneg */ + XSETFASTINT (arg, XFASTINT (arg) - 1); } if (flag)