Mercurial > emacs
changeset 24374:80d0a3294c24
Don't define Qusr1_signal and Qusr2_signal.
(syms_of_emacs): Don't initialize them.
(handle_USR1_signal, handle_USR2_signal): Set event type to
user_signal instead of non_ascii_keystroke, and use plain integers
as code instead of Lisp symbols.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 22 Feb 1999 10:04:28 +0000 |
parents | c9020001e3c5 |
children | 2b4cdb028ea9 |
files | src/emacs.c |
diffstat | 1 files changed, 4 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Mon Feb 22 02:00:58 1999 +0000 +++ b/src/emacs.c Mon Feb 22 10:04:28 1999 +0000 @@ -117,8 +117,6 @@ Lisp_Object Qfile_name_handler_alist; -Lisp_Object Qusr1_signal, Qusr2_signal; - /* If non-zero, emacs should not attempt to use an window-specific code, but instead should use the virtual terminal under which it was started */ int inhibit_window_system; @@ -189,8 +187,8 @@ { struct input_event buf; - buf.kind = non_ascii_keystroke; - buf.code = Qusr1_signal; + buf.kind = user_signal; + buf.code = 0; buf.frame_or_window = Fselected_frame (); buf.modifiers = 0; buf.timestamp = 0; @@ -206,8 +204,8 @@ { struct input_event buf; - buf.kind = non_ascii_keystroke; - buf.code = Qusr2_signal; + buf.kind = user_signal; + buf.code = 1; buf.frame_or_window = Fselected_frame (); buf.modifiers = 0; buf.timestamp = 0; @@ -1861,11 +1859,6 @@ Qfile_name_handler_alist = intern ("file-name-handler-alist"); staticpro (&Qfile_name_handler_alist); - Qusr1_signal = intern ("usr1-signal"); - staticpro (&Qusr1_signal); - Qusr2_signal = intern ("usr2-signal"); - staticpro (&Qusr2_signal); - #ifndef CANNOT_DUMP #ifdef HAVE_SHM defsubr (&Sdump_emacs_data);