aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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