comparison src/xdisp.c @ 31876:de16d989722a

(help_echo_showing_p): New variable. (set_message): Reset it to 0. (init_xdisp): Initialize help_echo_showing_p.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 25 Sep 2000 14:26:20 +0000
parents 07bedd9c5bdd
children 85c245edb7d7
comparison
equal deleted inserted replaced
31875:11ea7b711a85 31876:de16d989722a
505 static struct glyph scratch_glyphs[MAX_SCRATCH_GLYPHS]; 505 static struct glyph scratch_glyphs[MAX_SCRATCH_GLYPHS];
506 506
507 /* Ascent and height of the last line processed by move_it_to. */ 507 /* Ascent and height of the last line processed by move_it_to. */
508 508
509 static int last_max_ascent, last_height; 509 static int last_max_ascent, last_height;
510
511 /* Non-zero if there's a help-echo in the echo area. */
512
513 int help_echo_showing_p;
510 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
514 let us call compute_char_face and alike too often because we 518 let us call compute_char_face and alike too often because we
6151 || (STRINGP (string) && STRING_MULTIBYTE (string))); 6155 || (STRINGP (string) && STRING_MULTIBYTE (string)));
6152 6156
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
6159 /* Helper function for set_message. Arguments have the same meaning 6164 /* Helper function for set_message. Arguments have the same meaning
6160 as there, with A1 corresponding to S and A2 corresponding to STRING 6165 as there, with A1 corresponding to S and A2 corresponding to STRING
13699 frame_title_buf = (char *) xmalloc (size); 13704 frame_title_buf = (char *) xmalloc (size);
13700 frame_title_buf_end = frame_title_buf + size; 13705 frame_title_buf_end = frame_title_buf + size;
13701 frame_title_ptr = NULL; 13706 frame_title_ptr = NULL;
13702 } 13707 }
13703 #endif /* HAVE_WINDOW_SYSTEM */ 13708 #endif /* HAVE_WINDOW_SYSTEM */
13704 } 13709
13705 13710 help_echo_showing_p = 0;
13706 13711 }
13712
13713