diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-09-04 22:27:13 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-09-04 22:27:13 -0400 |
commit | a7e43722c705f2b124fe7fa6a41cac76d0fe5b3a (patch) | |
tree | b709fd07782a1a93548943befd1ba3cc6a4bf416 | |
parent | 2a6f417413360a4910bac0b096534571bc938071 (diff) | |
download | emacs-a7e43722c705f2b124fe7fa6a41cac76d0fe5b3a.tar.gz emacs-a7e43722c705f2b124fe7fa6a41cac76d0fe5b3a.tar.bz2 emacs-a7e43722c705f2b124fe7fa6a41cac76d0fe5b3a.zip |
* src/cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/cmds.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d991c2dac72..6eb5125d20c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. 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)); |