summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 03ce54c8ee4..fdc3fcac281 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -280,8 +280,7 @@ At the end, it runs `post-self-insert-hook'. */)
CHECK_NUMBER (n);
if (XFASTINT (n) < 1)
- error ("Repetition argument is %"pI"d, but must be higher than 0.",
- XFASTINT (n));
+ error ("Nonpositive repetition argument %"pI"d", XFASTINT (n));
if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))
nonundocount = 0;