diff options
| author | Paul Eggert | 2017-02-01 15:18:43 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-02-01 15:23:19 -0800 |
| commit | 33be50037c2b4cdb002538534e9915c6bad253b7 (patch) | |
| tree | 04a387a7afb86c86c4eaea71175d6d9fd1c37047 /admin | |
| parent | 94ad13b93c6fc099a353c8eb27c00a68ee79a952 (diff) | |
| download | emacs-33be50037c2b4cdb002538534e9915c6bad253b7.tar.gz emacs-33be50037c2b4cdb002538534e9915c6bad253b7.zip | |
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.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/notes/multi-tty | 5 |
1 files changed, 2 insertions, 3 deletions
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 | |||
| 1239 | (Update: OK, it all seems so easy now (NOT). Input could be done | 1239 | (Update: OK, it all seems so easy now (NOT). Input could be done |
| 1240 | synchronously (with wait_reading_process_input), or asynchronously | 1240 | synchronously (with wait_reading_process_input), or asynchronously |
| 1241 | by SIGIO or polling (SIGALRM). C-g either sets the Vquit_flag, | 1241 | by SIGIO or polling (SIGALRM). C-g either sets the Vquit_flag, |
| 1242 | signals a 'quit condition (when immediate_quit), or throws to | 1242 | signals a 'quit condition, or throws to 'getcjmp' when Emacs was |
| 1243 | 'getcjmp' when Emacs was waiting for input when the C-g event | 1243 | waiting for input when the C-g event arrived.) |
| 1244 | arrived.) | ||
| 1245 | 1244 | ||
| 1246 | -- Replace wrong_kboard_jmpbuf with a special return value of | 1245 | -- Replace wrong_kboard_jmpbuf with a special return value of |
| 1247 | read_char. It is absurd that we use setjmp/longjmp just to return | 1246 | read_char. It is absurd that we use setjmp/longjmp just to return |