aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-06-29 22:46:26 +0000
committerJim Blandy1993-06-29 22:46:26 +0000
commit26c1639eb6a82de2bbf86af602569b83e90daeac (patch)
treee5be013183eee79750f88ab2f2902697b21d0e59
parent3a3236d27c2d63c66196aadc1f96da101a551a80 (diff)
downloademacs-26c1639eb6a82de2bbf86af602569b83e90daeac.tar.gz
emacs-26c1639eb6a82de2bbf86af602569b83e90daeac.zip
* keyboard.c (read_char): Don't do idle autosaves if we're not
interactive.
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 4271f6c9df8..52e283ab789 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1445,7 +1445,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
1445 1445
1446 /* Slow down auto saves logarithmically in size of current buffer, 1446 /* Slow down auto saves logarithmically in size of current buffer,
1447 and garbage collect while we're at it. */ 1447 and garbage collect while we're at it. */
1448 if (NILP (c)) 1448 if (INTERACTIVE && NILP (c))
1449 { 1449 {
1450 int delay_level, buffer_size; 1450 int delay_level, buffer_size;
1451 1451