aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-25 14:26:20 +0000
committerGerd Moellmann2000-09-25 14:26:20 +0000
commit21fdfb65736b6cbf43847cfb41ecf8f0363d5ac5 (patch)
tree06c05ea4d5b90c72524c77a2ea660f43f7bab96c /src
parent583dba75e48cc7cc0328e73f990a6616d4e8328a (diff)
downloademacs-21fdfb65736b6cbf43847cfb41ecf8f0363d5ac5.tar.gz
emacs-21fdfb65736b6cbf43847cfb41ecf8f0363d5ac5.zip
(help_echo_showing_p): New variable.
(set_message): Reset it to 0. (init_xdisp): Initialize help_echo_showing_p.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a82736ccd18..1c76ec8e797 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -508,6 +508,10 @@ static struct glyph scratch_glyphs[MAX_SCRATCH_GLYPHS];
508 508
509static int last_max_ascent, last_height; 509static int last_max_ascent, last_height;
510 510
511/* Non-zero if there's a help-echo in the echo area. */
512
513int help_echo_showing_p;
514
511/* The maximum distance to look ahead for text properties. Values 515/* The maximum distance to look ahead for text properties. Values
512 that are too small let us call compute_char_face and similar 516 that are too small let us call compute_char_face and similar
513 functions too often which is expensive. Values that are too large 517 functions too often which is expensive. Values that are too large
@@ -6153,6 +6157,7 @@ set_message (s, string, nbytes, multibyte_p)
6153 with_echo_area_buffer (0, -1, set_message_1, 6157 with_echo_area_buffer (0, -1, set_message_1,
6154 (EMACS_INT) s, string, nbytes, multibyte_p); 6158 (EMACS_INT) s, string, nbytes, multibyte_p);
6155 message_buf_print = 0; 6159 message_buf_print = 0;
6160 help_echo_showing_p = 0;
6156} 6161}
6157 6162
6158 6163
@@ -13701,6 +13706,8 @@ init_xdisp ()
13701 frame_title_ptr = NULL; 13706 frame_title_ptr = NULL;
13702 } 13707 }
13703#endif /* HAVE_WINDOW_SYSTEM */ 13708#endif /* HAVE_WINDOW_SYSTEM */
13709
13710 help_echo_showing_p = 0;
13704} 13711}
13705 13712
13706 13713