diff options
| -rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 72e6844d841..0d13743f8b5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -100,7 +100,12 @@ int interrupt_input_pending; | |||
| 100 | /* File descriptor to use for input. */ | 100 | /* File descriptor to use for input. */ |
| 101 | extern int input_fd; | 101 | extern int input_fd; |
| 102 | 102 | ||
| 103 | /* Nonzero if we are executing from the SIGIO signal handler. */ | 103 | /* Nonzero if we are executing from the SIGIO signal handler. |
| 104 | The difference between in_sighandler and handling_signal is that | ||
| 105 | in_sighandler is only set when executing in a signal handler. | ||
| 106 | handling_signal may be set even if not executing in a signal handler, for | ||
| 107 | example when reinvoke_input_signal is called from UNBLOCK_INPUT, or | ||
| 108 | when Emacs is compiled with SYNC_INPUT defined. */ | ||
| 104 | int in_sighandler; | 109 | int in_sighandler; |
| 105 | 110 | ||
| 106 | #ifdef HAVE_WINDOW_SYSTEM | 111 | #ifdef HAVE_WINDOW_SYSTEM |