diff options
author | Glenn Morris <rgm@gnu.org> | 2014-06-01 17:18:22 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-06-01 17:18:22 -0700 |
commit | 953e106ac84587e765244995687b088969b5f6e1 (patch) | |
tree | a4d54b892e04b9123bc79ecffd69310f5807399e /src/cmds.c | |
parent | eed652d649d28e9dafdb01f9c7425d7d28899e0d (diff) | |
parent | afca0e759015ebc753b0c343ac45ac476dd31e9d (diff) | |
download | emacs-953e106ac84587e765244995687b088969b5f6e1.tar.gz emacs-953e106ac84587e765244995687b088969b5f6e1.tar.bz2 emacs-953e106ac84587e765244995687b088969b5f6e1.zip |
Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ru
Diffstat (limited to 'src/cmds.c')
-rw-r--r-- | src/cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c index b5aa69d6391..828fea3d753 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -280,8 +280,8 @@ At the end, it runs `post-self-insert-hook'. */) bool remove_boundary = 1; CHECK_NUMBER (n); - if (XFASTINT (n) < 1) - error ("Nonpositive repetition argument %"pI"d", XFASTINT (n)); + if (XFASTINT (n) < 0) + error ("Negative repetition argument %"pI"d", XFASTINT (n)); if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command))) nonundocount = 0; |