changeset 74412:408e515f643d

Fix last change.
author Kim F. Storm <storm@cua.dk>
date Mon, 04 Dec 2006 12:37:55 +0000
parents f76dd5acc4b2
children 3f31a8cff008
files src/keyboard.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Dec 04 12:32:12 2006 +0000
+++ b/src/keyboard.c	Mon Dec 04 12:37:55 2006 +0000
@@ -5074,7 +5074,7 @@
 };
 
 /* 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 @@
 	{
 	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 @@
 
   Qsignal = intern ("signal");
   staticpro (&Qsignal);
-  Qusr1 = intern ("usr1");
-  staticpro (&Qusr1);
-  Qusr2 = intern ("usr2");
-  staticpro (&Qusr2);
 
   Qmenu_enable = intern ("menu-enable");
   staticpro (&Qmenu_enable);