aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 7459908828d..1a510afa271 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -280,8 +280,8 @@ At the end, it runs `post-self-insert-hook'. */)
280 bool remove_boundary = 1; 280 bool remove_boundary = 1;
281 CHECK_NUMBER (n); 281 CHECK_NUMBER (n);
282 282
283 if (XFASTINT (n) < 1) 283 if (XFASTINT (n) < 0)
284 error ("Nonpositive repetition argument %"pI"d", XFASTINT (n)); 284 error ("Negative repetition argument %"pI"d", XFASTINT (n));
285 285
286 if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command))) 286 if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))
287 nonundocount = 0; 287 nonundocount = 0;