summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-21 07:47:25 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-21 07:47:25 +0000
commitccaf17bf3d4c3aed0d6724f959ca2ab8ef24a61c (patch)
tree09ba98629ec3455b588d141ba68e95989774ec16 /src/keyboard.c
parent1064d5496252ac687cf2f06395659b973ea01dff (diff)
downloademacs-ccaf17bf3d4c3aed0d6724f959ca2ab8ef24a61c.tar.gz
(command_loop_1): Clear echo area after 2 sec
only if the minibuffer is in the same place as the echo area.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index dd9840bc1a9..5189cf58f07 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1110,7 +1110,8 @@ command_loop_1 ()
/* If minibuffer on and echo area in use,
wait 2 sec and redraw minibuffer. */
- if (minibuf_level && echo_area_glyphs)
+ if (minibuf_level && echo_area_glyphs
+ && EQ (minibuf_window, echo_area_window))
{
/* Bind inhibit-quit to t so that C-g gets read in
rather than quitting back to the minibuffer. */