Mercurial > emacs
comparison src/keyboard.c @ 3920:81d29cf5b232
* keyboard.c (read_char): Don't do idle autosaves if we're not
interactive.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 29 Jun 1993 22:46:26 +0000 |
parents | d8eb17d07558 |
children | d620db2bc420 |
comparison
equal
deleted
inserted
replaced
3919:bbac27613cee | 3920:81d29cf5b232 |
---|---|
1443 if (INTERACTIVE && !NILP (prev_event)) | 1443 if (INTERACTIVE && !NILP (prev_event)) |
1444 c = read_char_menu_prompt (nmaps, maps, prev_event, used_mouse_menu); | 1444 c = read_char_menu_prompt (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 |
1452 if (! MINI_WINDOW_P (XWINDOW (selected_window))) | 1452 if (! MINI_WINDOW_P (XWINDOW (selected_window))) |
1453 last_non_minibuf_size = Z - BEG; | 1453 last_non_minibuf_size = Z - BEG; |