changeset 35334:7cf24bda5ab7

(redisplay_preserve_echo_area): Add parameter FROM_WHERE, for debugging.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 16 Jan 2001 12:37:31 +0000
parents ac14700e2c6b
children b5a39d371511
files src/xdisp.c
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Jan 16 12:13:43 2001 +0000
+++ b/src/xdisp.c	Tue Jan 16 12:37:31 2001 +0000
@@ -8539,11 +8539,17 @@
    This is useful in situations where you need to redisplay but no
    user action has occurred, making it inappropriate for the message
    area to be cleared.  See tracking_off and
-   wait_reading_process_input for examples of these situations.  */
+   wait_reading_process_input for examples of these situations.
+
+   FROM_WHERE is an integer saying from where this function was
+   called.  This is useful for debugging.  */
 
 void
-redisplay_preserve_echo_area ()
-{
+redisplay_preserve_echo_area (from_where)
+     int from_where;
+{
+  TRACE ((stderr, "redisplay_preserve_echo_area (%d)\n", from_where));
+
   if (!NILP (echo_area_buffer[1]))
     {
       /* We have a previously displayed message, but no current