aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-02-25 16:06:08 +0000
committerChong Yidong2008-02-25 16:06:08 +0000
commit6a8128efceee2935c40c7d091acbd1b64f891ad1 (patch)
treeca82b031f39d0af65099bb6f74931cc4f22a909c /src
parent8018d4304b9e7d060fea7091cad8e0a0927dbecb (diff)
downloademacs-6a8128efceee2935c40c7d091acbd1b64f891ad1.tar.gz
emacs-6a8128efceee2935c40c7d091acbd1b64f891ad1.zip
(command_loop_1): Revert 2006-10-09 change.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
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);