Commit 2e35f1a2 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix bug #7281.

 cmds.c (internal_self_insert): Don't insert if argument N is zero.
parent b94a5a43
2010-10-26 Eli Zaretskii <eliz@gnu.org>
* cmds.c (internal_self_insert): Don't insert if argument N is
zero. (Bug#7281)
2010-10-26 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
......
......@@ -453,7 +453,7 @@ internal_self_insert (int c, EMACS_INT n)
&& SINGLE_BYTE_CHAR_P (c))
? UNIBYTE_TO_CHAR (c) : c);
Lisp_Object string = Fmake_string (make_number (n), make_number (mc));
if (spaces_to_insert)
{
tem = Fmake_string (make_number (spaces_to_insert),
......@@ -474,7 +474,7 @@ internal_self_insert (int c, EMACS_INT n)
insert_and_inherit (strn, p - strn);
SAFE_FREE ();
}
else
else if (n)
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