Commit 84b28888 authored by Eli Zaretskii's avatar Eli Zaretskii

cmds.c: (internal_self_insert): Don't insert for negative arguments.

parent 2e35f1a2
2010-10-26 Eli Zaretskii <eliz@gnu.org>
* cmds.c (internal_self_insert): Don't insert if argument N is
zero. (Bug#7281)
zero or negative. (Bug#7281)
2010-10-26 Jan Djärv <jan.h.d@swipnet.se>
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment