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
5945f1f4
Commit
5945f1f4
authored
Dec 04, 2006
by
Kim F. Storm
Browse files
Fix last change.
parent
ab074cb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/keyboard.c
src/keyboard.c
+7
-7
No files found.
src/keyboard.c
View file @
5945f1f4
...
...
@@ -5074,7 +5074,7 @@ Lisp_Object *scroll_bar_parts[] = {
};
/* User signal events. */
Lisp_Object Qsignal
, Qusr1, Qusr2
;
Lisp_Object Qsignal;
/* A vector, indexed by button number, giving the down-going location
of currently depressed buttons, both scroll bar and non-scroll bar.
...
...
@@ -5952,10 +5952,14 @@ make_lispy_event (event)
{
case 0:
return Qsignal;
#ifdef SIGUSR1
case SIGUSR1:
return Qusr1;
return intern ("usr1");
#endif
#ifdef SIGUSR2
case SIGUSR2:
return Qusr2;
return intern ("usr2");
#endif
default:
return make_number (event->code);
}
...
...
@@ -11033,10 +11037,6 @@ syms_of_keyboard ()
Qsignal = intern ("signal");
staticpro (&Qsignal);
Qusr1 = intern ("usr1");
staticpro (&Qusr1);
Qusr2 = intern ("usr2");
staticpro (&Qusr2);
Qmenu_enable = intern ("menu-enable");
staticpro (&Qmenu_enable);
...
...
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