* src/cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.
|
||||
|
||||
2013-09-04 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* 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));
|
||||
|
||||
Reference in New Issue
Block a user