Commit a7e43722 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* src/cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.

parent 2a6f4174
2013-09-05 Stefan Monnier <>
* cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.
2013-09-04 Paul Eggert <>
* alloc.c (make_event_array): First arg is now ptrdiff_t, not int.
......@@ -304,7 +304,7 @@ At the end, it runs `post-self-insert-hook'. */)
/* Barf if the key that invoked this was not a character. */
if (!CHARACTERP (last_command_event))
bitch_at_user ();
else {
int character = translate_char (Vtranslation_table_for_input,
XINT (last_command_event));
int val = internal_self_insert (character, XFASTINT (n));
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