Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b64b4075
Commit
b64b4075
authored
Apr 15, 1994
by
Richard M. Stallman
Browse files
(modify_event_symbol): Use the cdr of the alist entry.
Whenever value is nil, intern a new symbol.
parent
4e0e7d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/keyboard.c
src/keyboard.c
+3
-2
No files found.
src/keyboard.c
View file @
b64b4075
...
...
@@ -3195,10 +3195,11 @@ modify_event_symbol (symbol_num, modifiers, symbol_kind, name_alist,
{
/* No; let's create it. */
if (!NILP (name_alist))
value = Fassq (symbol_int, name_alist);
value =
Fcdr_safe (
Fassq (symbol_int, name_alist)
)
;
else if (name_table[symbol_num])
value = intern (name_table[symbol_num]);
else
if (NILP (value))
{
char buf[20];
sprintf (buf, "key-%d", symbol_num);
...
...
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