diff options
| author | Chong Yidong | 2008-02-25 16:06:08 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-02-25 16:06:08 +0000 |
| commit | 6a8128efceee2935c40c7d091acbd1b64f891ad1 (patch) | |
| tree | ca82b031f39d0af65099bb6f74931cc4f22a909c | |
| parent | 8018d4304b9e7d060fea7091cad8e0a0927dbecb (diff) | |
| download | emacs-6a8128efceee2935c40c7d091acbd1b64f891ad1.tar.gz emacs-6a8128efceee2935c40c7d091acbd1b64f891ad1.zip | |
(command_loop_1): Revert 2006-10-09 change.
| -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 21904bf9c28..2acf6aaa3cc 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1603,17 +1603,15 @@ command_loop_1 () | |||
| 1603 | 1603 | ||
| 1604 | if (minibuf_level | 1604 | if (minibuf_level |
| 1605 | && !NILP (echo_area_buffer[0]) | 1605 | && !NILP (echo_area_buffer[0]) |
| 1606 | && EQ (minibuf_window, echo_area_window)) | 1606 | && EQ (minibuf_window, echo_area_window) |
| 1607 | && NUMBERP (Vminibuffer_message_timeout)) | ||
| 1607 | { | 1608 | { |
| 1608 | /* Bind inhibit-quit to t so that C-g gets read in | 1609 | /* Bind inhibit-quit to t so that C-g gets read in |
| 1609 | rather than quitting back to the minibuffer. */ | 1610 | rather than quitting back to the minibuffer. */ |
| 1610 | int count = SPECPDL_INDEX (); | 1611 | int count = SPECPDL_INDEX (); |
| 1611 | specbind (Qinhibit_quit, Qt); | 1612 | specbind (Qinhibit_quit, Qt); |
| 1612 | 1613 | ||
| 1613 | if (NUMBERP (Vminibuffer_message_timeout)) | 1614 | sit_for (Vminibuffer_message_timeout, 0, 2); |
| 1614 | sit_for (Vminibuffer_message_timeout, 0, 2); | ||
| 1615 | else | ||
| 1616 | sit_for (Qt, 0, 2); | ||
| 1617 | 1615 | ||
| 1618 | /* Clear the echo area. */ | 1616 | /* Clear the echo area. */ |
| 1619 | message2 (0, 0, 0); | 1617 | message2 (0, 0, 0); |