Mercurial > emacs
comparison src/xdisp.c @ 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 | 6cb4bc361bf8 |
children | bc6d69d139c6 |
comparison
equal
deleted
inserted
replaced
35333:ac14700e2c6b | 35334:7cf24bda5ab7 |
---|---|
8537 another message has been requested in its place. | 8537 another message has been requested in its place. |
8538 | 8538 |
8539 This is useful in situations where you need to redisplay but no | 8539 This is useful in situations where you need to redisplay but no |
8540 user action has occurred, making it inappropriate for the message | 8540 user action has occurred, making it inappropriate for the message |
8541 area to be cleared. See tracking_off and | 8541 area to be cleared. See tracking_off and |
8542 wait_reading_process_input for examples of these situations. */ | 8542 wait_reading_process_input for examples of these situations. |
8543 | |
8544 FROM_WHERE is an integer saying from where this function was | |
8545 called. This is useful for debugging. */ | |
8543 | 8546 |
8544 void | 8547 void |
8545 redisplay_preserve_echo_area () | 8548 redisplay_preserve_echo_area (from_where) |
8546 { | 8549 int from_where; |
8550 { | |
8551 TRACE ((stderr, "redisplay_preserve_echo_area (%d)\n", from_where)); | |
8552 | |
8547 if (!NILP (echo_area_buffer[1])) | 8553 if (!NILP (echo_area_buffer[1])) |
8548 { | 8554 { |
8549 /* We have a previously displayed message, but no current | 8555 /* We have a previously displayed message, but no current |
8550 message. Redisplay the previous message. */ | 8556 message. Redisplay the previous message. */ |
8551 display_last_displayed_message_p = 1; | 8557 display_last_displayed_message_p = 1; |