diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-10-26 20:47:19 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-10-26 20:47:19 +0200 |
commit | 84b288883d97278b28b82cebade5dd1a0f7d92a3 (patch) | |
tree | 6f7683e0ff4ce9ba3e52b332dc72ad6968a76cb4 /src/cmds.c | |
parent | 2e35f1a27ee68db4e29b30fc365d1531aece808f (diff) | |
download | emacs-84b288883d97278b28b82cebade5dd1a0f7d92a3.tar.gz |
cmds.c: (internal_self_insert): Don't insert for negative arguments.
Diffstat (limited to 'src/cmds.c')
-rw-r--r-- | src/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index 2682e54132a..2d0814abd98 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -474,7 +474,7 @@ internal_self_insert (int c, EMACS_INT n) insert_and_inherit (strn, p - strn); SAFE_FREE (); } - else if (n) + else if (n > 0) insert_and_inherit (str, len); if ((CHAR_TABLE_P (Vauto_fill_chars) |