diff options
| author | Gerd Moellmann | 2001-09-26 12:02:24 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-26 12:02:24 +0000 |
| commit | 032906b178029bc8d674eebdb2c2644fc19d8e1f (patch) | |
| tree | 9b192332005e48a0fb559bb88c37b49cdb7d8a0c | |
| parent | f49aedfdf441b6df4e9c73180e7fd9dce3188053 (diff) | |
| download | emacs-032906b178029bc8d674eebdb2c2644fc19d8e1f.tar.gz emacs-032906b178029bc8d674eebdb2c2644fc19d8e1f.zip | |
(with_echo_area_buffer): Use echo_kboard instead
of the only tempoarily set echoing flag for deciding when
the cancel echoing.
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a5179f83d27..c0b77fb4804 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2001-09-26 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-09-26 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (with_echo_area_buffer): Use echo_kboard instead | ||
| 4 | of the only tempoarily set echoing flag for deciding when | ||
| 5 | the cancel echoing. | ||
| 6 | |||
| 7 | * keyboard.c (echo_kboard): Make externally visible. | ||
| 8 | |||
| 9 | * lisp.h (echo_kboard): Declare extern. | ||
| 10 | |||
| 3 | * xdisp.c (make_cursor_line_fully_visible): Return 0 and set | 11 | * xdisp.c (make_cursor_line_fully_visible): Return 0 and set |
| 4 | fonts_changed_p if need larger matrices due to vscrolling. | 12 | fonts_changed_p if need larger matrices due to vscrolling. |
| 5 | (try_scrolling, try_cursor_movement, redisplay_window): Give up on | 13 | (try_scrolling, try_cursor_movement, redisplay_window): Give up on |
diff --git a/src/xdisp.c b/src/xdisp.c index eae5e9062fb..295bf1be5f6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -6237,7 +6237,7 @@ with_echo_area_buffer (w, which, fn, a1, a2, a3, a4) | |||
| 6237 | 6237 | ||
| 6238 | /* Don't get confused by reusing the buffer used for echoing | 6238 | /* Don't get confused by reusing the buffer used for echoing |
| 6239 | for a different purpose. */ | 6239 | for a different purpose. */ |
| 6240 | if (!echoing && EQ (buffer, echo_message_buffer)) | 6240 | if (echo_kboard == NULL && EQ (buffer, echo_message_buffer)) |
| 6241 | cancel_echoing (); | 6241 | cancel_echoing (); |
| 6242 | 6242 | ||
| 6243 | record_unwind_protect (unwind_with_echo_area_buffer, | 6243 | record_unwind_protect (unwind_with_echo_area_buffer, |