From a7e43722c705f2b124fe7fa6a41cac76d0fe5b3a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 4 Sep 2013 22:27:13 -0400 Subject: * src/cmds.c (Fself_insert_command): Don't pass a non-integer to XINT. --- src/cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmds.c') diff --git a/src/cmds.c b/src/cmds.c index ee3be79a0ab..aeedb152f62 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -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)); -- cgit v1.2.1