Mercurial > emacs
comparison src/emacs.c @ 30176:baf1c4a71548
(handle_USR2_signal, handle_USR1_signal): Use
USER_SIGNAL_EVENT.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 13 Jul 2000 14:07:19 +0000 |
parents | 22cde023296d |
children | 34cac3323036 |
comparison
equal
deleted
inserted
replaced
30175:67c99cc46d03 | 30176:baf1c4a71548 |
---|---|
293 int sig; | 293 int sig; |
294 { | 294 { |
295 struct input_event buf; | 295 struct input_event buf; |
296 | 296 |
297 bzero (&buf, sizeof buf); | 297 bzero (&buf, sizeof buf); |
298 buf.kind = user_signal; | 298 buf.kind = USER_SIGNAL_EVENT; |
299 buf.frame_or_window = selected_frame; | 299 buf.frame_or_window = selected_frame; |
300 | 300 |
301 kbd_buffer_store_event (&buf); | 301 kbd_buffer_store_event (&buf); |
302 } | 302 } |
303 #endif /* SIGUSR1 */ | 303 #endif /* SIGUSR1 */ |
308 int sig; | 308 int sig; |
309 { | 309 { |
310 struct input_event buf; | 310 struct input_event buf; |
311 | 311 |
312 bzero (&buf, sizeof buf); | 312 bzero (&buf, sizeof buf); |
313 buf.kind = user_signal; | 313 buf.kind = USER_SIGNAL_EVENT; |
314 buf.code = 1; | 314 buf.code = 1; |
315 buf.frame_or_window = selected_frame; | 315 buf.frame_or_window = selected_frame; |
316 | 316 |
317 kbd_buffer_store_event (&buf); | 317 kbd_buffer_store_event (&buf); |
318 } | 318 } |