diff options
| author | Eli Zaretskii | 2016-09-14 20:41:04 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-09-14 20:41:04 +0300 |
| commit | 5ad238bf28f67304b942f03d3d5fc8d14d1268a8 (patch) | |
| tree | 0a5de6a3f71f27f287f7869a7d38a13f5917203c /src/eval.c | |
| parent | def4f1ec992880de599d36a0f94536249d95d7c4 (diff) | |
| download | emacs-5ad238bf28f67304b942f03d3d5fc8d14d1268a8.tar.gz emacs-5ad238bf28f67304b942f03d3d5fc8d14d1268a8.zip | |
Avoid aborts in GC due to abort_on_gc
* src/lisp.h:
* src/print.c (Fprin1_to_string):
* src/eval.c (signal_or_quit):
* src/alloc.c (garbage_collect_1): Remove declarations, setting,
and testing the value of abort_on_gc. It is no longer needed, and
using it causes rare aborts in GC for no good reason. (Bug#23912)
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index f681ef7c278..e08a25a31a0 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1497,7 +1497,6 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit) | |||
| 1497 | struct handler *h; | 1497 | struct handler *h; |
| 1498 | 1498 | ||
| 1499 | immediate_quit = 0; | 1499 | immediate_quit = 0; |
| 1500 | abort_on_gc = 0; | ||
| 1501 | if (gc_in_progress || waiting_for_input) | 1500 | if (gc_in_progress || waiting_for_input) |
| 1502 | emacs_abort (); | 1501 | emacs_abort (); |
| 1503 | 1502 | ||