Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a7e43722
Commit
a7e43722
authored
Sep 04, 2013
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/cmds.c (Fself_insert_command): Don't pass a non-integer to XINT.
parent
2a6f4174
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/cmds.c
src/cmds.c
+1
-1
No files found.
src/ChangeLog
View file @
a7e43722
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.
...
...
src/cmds.c
View file @
a7e43722
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment