Mercurial > emacs
changeset 31877:517180d8eccd
(show_help_echo): Set help_echo_showing_p.
(read_char): If help-echo is showing, preserve the echo area
when redisplaying.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 25 Sep 2000 14:27:02 +0000 |
parents | de16d989722a |
children | 6731a720a7a1 |
files | src/keyboard.c |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Mon Sep 25 14:26:20 2000 +0000 +++ b/src/keyboard.c Mon Sep 25 14:27:02 2000 +0000 @@ -1986,8 +1986,10 @@ unbind_to (count, Qnil); } else - message (0); - } + message (0); + } + + help_echo_showing_p = STRINGP (help); } } @@ -2171,7 +2173,10 @@ /* Redisplay if no pending input. */ while (!input_pending) { - redisplay (); + if (help_echo_showing_p && !EQ (selected_window, minibuf_window)) + redisplay_preserve_echo_area (); + else + redisplay (); if (!input_pending) /* Normal case: no input arrived during redisplay. */