]> git.eshelyaron.com Git - emacs.git/commitdiff
* keyboard.c (read_char): Don't do idle autosaves if we're not
authorJim Blandy <jimb@redhat.com>
Tue, 29 Jun 1993 22:46:26 +0000 (22:46 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 29 Jun 1993 22:46:26 +0000 (22:46 +0000)
interactive.

src/keyboard.c

index 4271f6c9df872b2fb079b6b09005e3d7f183bcdc..52e283ab78963ae611acad0fffe12523fb1f47e1 100644 (file)
@@ -1445,7 +1445,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
 
   /* Slow down auto saves logarithmically in size of current buffer,
      and garbage collect while we're at it.  */
-  if (NILP (c))
+  if (INTERACTIVE && NILP (c))
     {
       int delay_level, buffer_size;