From b1c6aa6ebef81dc52589098fcac038dd8f28ad2c Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Thu, 14 Dec 2006 08:42:28 +0000 Subject: (add_user_signals): Add extern. --- src/ChangeLog | 16 ++++++++++++++++ src/keyboard.h | 1 + 2 files changed, 17 insertions(+) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index 450f6ba1487..77a714e0917 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,19 @@ +2006-12-14 YAMAMOTO Mitsuharu + + * emacs.c (handle_user_signal): Move function to keyboard.c. + (main): Use add_user_signal for SIGUSR1 and SIGUSR2. + + * keyboard.c (make_lispy_event): Use find_user_signal_name. + (read_avail_input): Store pending user signal events. + (struct user_signal_info): New struct. + (user_signals): New variable. + (add_user_signal, store_user_signal_events find_user_signal_name): + New functions. + (handle_user_signal): Move function from emacs.c. Don't store + USER_SIGNAL_EVENT here, but increment number of pending signals. + + * keyboard.h (add_user_signals): Add extern. + 2006-12-11 Juanma Barranquero * buffer.c (syms_of_buffer) : diff --git a/src/keyboard.h b/src/keyboard.h index 96ac7d2e856..984ecccc0a4 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -344,6 +344,7 @@ extern void gen_help_event P_ ((Lisp_Object, Lisp_Object, Lisp_Object, extern void kbd_buffer_store_help_event P_ ((Lisp_Object, Lisp_Object)); extern Lisp_Object menu_item_eval_property P_ ((Lisp_Object)); extern int kbd_buffer_events_waiting P_ ((int)); +extern void add_user_signals P_ ((int, const char *)); /* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 (do not change this comment) */ -- cgit v1.2.1