diff options
| author | Chong Yidong | 2008-02-25 16:04:54 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-02-25 16:04:54 +0000 |
| commit | 933930d44f0121c9f7afac0dfc15a5df1aa80459 (patch) | |
| tree | b416d2bd3af1c58f955683713833dc5e8bc86cbe /src | |
| parent | 152e0c972598347feb833abb698c3daf717da32f (diff) | |
| download | emacs-933930d44f0121c9f7afac0dfc15a5df1aa80459.tar.gz emacs-933930d44f0121c9f7afac0dfc15a5df1aa80459.zip | |
(command_loop_1): Revert 2006-10-09 change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 20ecf203324..178fa067210 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1564,17 +1564,15 @@ command_loop_1 () | |||
| 1564 | 1564 | ||
| 1565 | if (minibuf_level | 1565 | if (minibuf_level |
| 1566 | && !NILP (echo_area_buffer[0]) | 1566 | && !NILP (echo_area_buffer[0]) |
| 1567 | && EQ (minibuf_window, echo_area_window)) | 1567 | && EQ (minibuf_window, echo_area_window) |
| 1568 | && NUMBERP (Vminibuffer_message_timeout)) | ||
| 1568 | { | 1569 | { |
| 1569 | /* Bind inhibit-quit to t so that C-g gets read in | 1570 | /* Bind inhibit-quit to t so that C-g gets read in |
| 1570 | rather than quitting back to the minibuffer. */ | 1571 | rather than quitting back to the minibuffer. */ |
| 1571 | int count = SPECPDL_INDEX (); | 1572 | int count = SPECPDL_INDEX (); |
| 1572 | specbind (Qinhibit_quit, Qt); | 1573 | specbind (Qinhibit_quit, Qt); |
| 1573 | 1574 | ||
| 1574 | if (NUMBERP (Vminibuffer_message_timeout)) | 1575 | sit_for (Vminibuffer_message_timeout, 0, 2); |
| 1575 | sit_for (Vminibuffer_message_timeout, 0, 2); | ||
| 1576 | else | ||
| 1577 | sit_for (Qt, 0, 2); | ||
| 1578 | 1576 | ||
| 1579 | /* Clear the echo area. */ | 1577 | /* Clear the echo area. */ |
| 1580 | message2 (0, 0, 0); | 1578 | message2 (0, 0, 0); |