aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2006-12-04 12:37:55 +0000
committerKim F. Storm <[email protected]>2006-12-04 12:37:55 +0000
commit5945f1f455595da09fe7db795d0efaa97f9b63c2 (patch)
tree2d797cf007b9fe730e2fc2cbfbef3e6bba04d141 /src
parentab074cb1be2a73c6a2f0484c5f607ee822d8d29b (diff)
Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index b79a183dd0..01c4d181f6 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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);