diff options
| author | Joakim Verona | 2013-02-16 00:04:20 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-16 00:04:20 +0100 |
| commit | 613fda6799a504feff2d5a930ef7998125498d10 (patch) | |
| tree | 8c7bee1d673435d544d74477ecf20d657b7fa489 /src/keyboard.c | |
| parent | 73b3f91cfcc9b42d2851ced24d7ba3d17e4c6d00 (diff) | |
| parent | f852f6d8c0db494ccb21b6020a5ebbeaa685a948 (diff) | |
| download | emacs-613fda6799a504feff2d5a930ef7998125498d10.tar.gz emacs-613fda6799a504feff2d5a930ef7998125498d10.zip | |
auto upstream
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 5cd7e8473d2..0d60dc8929d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2660,9 +2660,10 @@ read_char (int commandflag, Lisp_Object map, | |||
| 2660 | && XINT (Vauto_save_timeout) > 0) | 2660 | && XINT (Vauto_save_timeout) > 0) |
| 2661 | { | 2661 | { |
| 2662 | Lisp_Object tem0; | 2662 | Lisp_Object tem0; |
| 2663 | EMACS_INT timeout = (delay_level | 2663 | EMACS_INT timeout = XFASTINT (Vauto_save_timeout); |
| 2664 | * min (XFASTINT (Vauto_save_timeout) / 4, | 2664 | |
| 2665 | MOST_POSITIVE_FIXNUM / delay_level)); | 2665 | timeout = min (timeout, MOST_POSITIVE_FIXNUM / delay_level * 4); |
| 2666 | timeout = delay_level * timeout / 4; | ||
| 2666 | save_getcjmp (save_jump); | 2667 | save_getcjmp (save_jump); |
| 2667 | restore_getcjmp (local_getcjmp); | 2668 | restore_getcjmp (local_getcjmp); |
| 2668 | tem0 = sit_for (make_number (timeout), 1, 1); | 2669 | tem0 = sit_for (make_number (timeout), 1, 1); |