diff options
| author | Andreas Schwab | 2011-11-06 20:42:14 +0100 |
|---|---|---|
| committer | Andreas Schwab | 2011-11-06 20:42:14 +0100 |
| commit | b70413668a72cbc36fba7d505131a71a847d602b (patch) | |
| tree | 642c24425d4e8ed8131422bc007c8542b1ca88b1 /src | |
| parent | 88a37c4d87ec916146430bfef0a5e90f175b6a2e (diff) | |
| download | emacs-b70413668a72cbc36fba7d505131a71a847d602b.tar.gz emacs-b70413668a72cbc36fba7d505131a71a847d602b.zip | |
* src/keyboard.c (interrupt_signal): Don't call kill-emacs while in
GC.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/keyboard.c | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e393da21cc2..a134b5f4871 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-11-06 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * keyboard.c (interrupt_signal): Don't call kill-emacs while in | ||
| 4 | GC. | ||
| 5 | |||
| 1 | 2011-11-06 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-11-06 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * xdisp.c (init_iterator, reseat_to_string): Don't set the | 8 | * xdisp.c (init_iterator, reseat_to_string): Don't set the |
diff --git a/src/keyboard.c b/src/keyboard.c index 95604550c80..11c37d14f64 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -10856,8 +10856,12 @@ interrupt_signal (int signalnum) /* If we don't have an argument, some */ | |||
| 10856 | if (!terminal) | 10856 | if (!terminal) |
| 10857 | { | 10857 | { |
| 10858 | /* If there are no frames there, let's pretend that we are a | 10858 | /* If there are no frames there, let's pretend that we are a |
| 10859 | well-behaving UN*X program and quit. */ | 10859 | well-behaving UN*X program and quit. We cannot do that while |
| 10860 | Fkill_emacs (Qnil); | 10860 | GC is in progress, though. */ |
| 10861 | if (!gc_in_progress) | ||
| 10862 | Fkill_emacs (Qnil); | ||
| 10863 | else | ||
| 10864 | Vquit_flag = Qt; | ||
| 10861 | } | 10865 | } |
| 10862 | else | 10866 | else |
| 10863 | { | 10867 | { |