# HG changeset patch # User Jim Blandy # Date 736993028 0 # Node ID 954251d0fbd10394a97979e3bc33be2111e912c3 # Parent 507115aff66d4b66e00f0691f2e7ea360a70700a * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is defined everywhere this file is #included; merge the two definitions for defined (SIGIO) and ! defined (SIGIO) into one, which calls reinvoke_input_signal if interrupt_input_pending is set. * keyboard.c (reinvoke_input_signal): New function. * keyboard.c (syms_of_keyboard): Doc fix for extra-keyboard-modifiers. diff -r 507115aff66d -r 954251d0fbd1 src/keyboard.c --- a/src/keyboard.c Mon May 10 00:16:34 1993 +0000 +++ b/src/keyboard.c Mon May 10 00:17:08 1993 +0000 @@ -2928,6 +2928,22 @@ errno = old_errno; } #endif /* SIGIO */ + +/* Send ourselves a SIGIO. + + This function exists so that the UNBLOCK_INPUT macro in + blockinput.h can have some way to take care of input we put off + dealing with, without assuming that every file which uses + UNBLOCK_INPUT also has #included the files necessary to get SIGIO. */ +void +reinvoke_input_signal () +{ +#ifdef SIGIO + kill (0, SIGIO); +#endif +} + + /* Return the prompt-string of a sparse keymap. This is the first element which is a string. @@ -4852,8 +4868,8 @@ DEFVAR_INT ("extra-keyboard-modifiers", &extra_keyboard_modifiers, "A mask of additional modifier keys to use with every keyboard character.\n\ -The modifiers of the character stored here apply to each keyboard\n\ -character we read. For example, after evaluating the expression\n\ +Emacs applies the modifiers of the character stored here to each keyboard\n\ +character it reads. For example, after evaluating the expression\n\ (setq extra-keyboard-modifiers ?\C-x)\n\ all input characters will have the control modifier applied to them.\n\ \n\