From 33be50037c2b4cdb002538534e9915c6bad253b7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 1 Feb 2017 15:18:43 -0800 Subject: Remove immediate_quit. The old code that sets and clears immediate_quit was ineffective except when Emacs is running in terminal mode, and has problematic race conditions anyway, so remove it. This will introduce some hangs when Emacs runs in terminal mode, and these hangs should be fixed in followup patches. * src/keyboard.c (immediate_quit): Remove. All uses removed. --- admin/notes/multi-tty | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'admin/notes/multi-tty') diff --git a/admin/notes/multi-tty b/admin/notes/multi-tty index b58180e6fab..d0096adc6d2 100644 --- a/admin/notes/multi-tty +++ b/admin/notes/multi-tty @@ -1239,9 +1239,8 @@ DIARY OF CHANGES (Update: OK, it all seems so easy now (NOT). Input could be done synchronously (with wait_reading_process_input), or asynchronously by SIGIO or polling (SIGALRM). C-g either sets the Vquit_flag, - signals a 'quit condition (when immediate_quit), or throws to - 'getcjmp' when Emacs was waiting for input when the C-g event - arrived.) + signals a 'quit condition, or throws to 'getcjmp' when Emacs was + waiting for input when the C-g event arrived.) -- Replace wrong_kboard_jmpbuf with a special return value of read_char. It is absurd that we use setjmp/longjmp just to return -- cgit v1.2.1