From: Kim F. Storm Date: Mon, 4 Dec 2006 12:37:55 +0000 (+0000) Subject: Fix last change. X-Git-Tag: emacs-pretest-22.0.92~311 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5945f1f455595da09fe7db795d0efaa97f9b63c2;p=emacs.git Fix last change. --- diff --git a/src/keyboard.c b/src/keyboard.c index b79a183dd0f..01c4d181f66 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);