diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2006-12-14 08:42:28 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2006-12-14 08:42:28 +0000 |
commit | b1c6aa6ebef81dc52589098fcac038dd8f28ad2c (patch) | |
tree | 54843d55415d42c7f382b71ff21392b022f9174c /src | |
parent | 23479b40da61fdf88d7bad75e900ba4a7db61dfd (diff) | |
download | emacs-b1c6aa6ebef81dc52589098fcac038dd8f28ad2c.tar.gz |
(add_user_signals): Add extern.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 16 | ||||
-rw-r--r-- | src/keyboard.h | 1 |
2 files changed, 17 insertions, 0 deletions
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 <mituharu@math.s.chiba-u.ac.jp> + + * 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 <lekktu@gmail.com> * buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: 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) */ |