aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2011-12-01 19:27:52 +0100
committerAndreas Schwab2011-12-01 19:27:52 +0100
commit3360a3fcb0c01428a42f1fb8a0b7459e0e6cac72 (patch)
tree1cac0dfd7f6b101a18d744aa08b3ace264cafb92 /src
parentccc6b7b34315f047db9395b9afe65aca2092cace (diff)
downloademacs-3360a3fcb0c01428a42f1fb8a0b7459e0e6cac72.tar.gz
emacs-3360a3fcb0c01428a42f1fb8a0b7459e0e6cac72.zip
Fixes: debbugs:10169
* src/keyboard.c (interrupt_signal): Don't call kill-emacs when waiting for input.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keyboard.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cd3d5b0ac3c..f230cdba26f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-12-01 Andreas Schwab <schwab@linux-m68k.org>
2
3 * keyboard.c (interrupt_signal): Don't call kill-emacs when
4 waiting for input. (Bug#10169)
5
12011-11-30 Eli Zaretskii <eliz@gnu.org> 62011-11-30 Eli Zaretskii <eliz@gnu.org>
2 7
3 * dispnew.c (adjust_glyph_matrix): Remove the assertion that 8 * dispnew.c (adjust_glyph_matrix): Remove the assertion that
diff --git a/src/keyboard.c b/src/keyboard.c
index e74c7ca1c68..8f316c5e446 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -10858,7 +10858,7 @@ interrupt_signal (int signalnum) /* If we don't have an argument, some */
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. We cannot do that while 10859 well-behaving UN*X program and quit. We cannot do that while
10860 GC is in progress, though. */ 10860 GC is in progress, though. */
10861 if (!gc_in_progress) 10861 if (!gc_in_progress && !waiting_for_input)
10862 Fkill_emacs (Qnil); 10862 Fkill_emacs (Qnil);
10863 else 10863 else
10864 Vquit_flag = Qt; 10864 Vquit_flag = Qt;