# HG changeset patch # User Gerd Moellmann # Date 969891980 0 # Node ID de16d989722aca3d35cf88498fd140d6342b7758 # Parent 11ea7b711a85d3dc781224b3a7c140ca2d056b04 (help_echo_showing_p): New variable. (set_message): Reset it to 0. (init_xdisp): Initialize help_echo_showing_p. diff -r 11ea7b711a85 -r de16d989722a src/xdisp.c --- a/src/xdisp.c Mon Sep 25 14:25:20 2000 +0000 +++ b/src/xdisp.c Mon Sep 25 14:26:20 2000 +0000 @@ -508,6 +508,10 @@ static int last_max_ascent, last_height; +/* Non-zero if there's a help-echo in the echo area. */ + +int help_echo_showing_p; + /* The maximum distance to look ahead for text properties. Values that are too small let us call compute_char_face and similar functions too often which is expensive. Values that are too large @@ -6153,6 +6157,7 @@ with_echo_area_buffer (0, -1, set_message_1, (EMACS_INT) s, string, nbytes, multibyte_p); message_buf_print = 0; + help_echo_showing_p = 0; } @@ -13701,6 +13706,8 @@ frame_title_ptr = NULL; } #endif /* HAVE_WINDOW_SYSTEM */ -} - - + + help_echo_showing_p = 0; +} + +