aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c
index d5cf5b0fedb..1e8ded46942 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -222,7 +222,8 @@ Whichever character you type to run this command is inserted.")
222 else 222 else
223 while (XINT (arg) > 0) 223 while (XINT (arg) > 0)
224 { 224 {
225 XFASTINT (arg)--; /* Ok since old and new vals both nonneg */ 225 /* Ok since old and new vals both nonneg */
226 XSETFASTINT (arg, XFASTINT (arg) - 1);
226 internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); 227 internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0);
227 } 228 }
228 229
@@ -277,7 +278,8 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
277 insert (&c1, 1); 278 insert (&c1, 1);
278 else 279 else
279 internal_self_insert ('\n', !NILP (arg1)); 280 internal_self_insert ('\n', !NILP (arg1));
280 XFASTINT (arg)--; /* Ok since old and new vals both nonneg */ 281 /* Ok since old and new vals both nonneg */
282 XSETFASTINT (arg, XFASTINT (arg) - 1);
281 } 283 }
282 284
283 if (flag) 285 if (flag)