diff options
author | Jim Blandy <jimb@redhat.com> | 1992-10-19 18:44:46 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-10-19 18:44:46 +0000 |
commit | 896adf849920c1066cbbddad809e44a07a2b8b46 (patch) | |
tree | d439b65d45368aabd17b0fe86224ef360b7357ef /src/minibuf.c | |
parent | 03273ec57b1bc79fa61b3c59c03d8088c980f55b (diff) | |
download | emacs-896adf849920c1066cbbddad809e44a07a2b8b46.tar.gz |
* minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
and previous_echo_glyphs; let message do that work.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 81c49a73c35..0d9cac64697 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -883,17 +883,12 @@ DEFUN ("completing-read", Fcompleting_read, Scompleting_read, 2, 6, 0, temp_echo_area_glyphs (m) char *m; { - /* It's not very modular to do things this way, but then it seems - to me that the whole echo_area_glyphs thing is a hack anyway. */ - extern char *previous_echo_glyphs; - int osize = ZV; Lisp_Object oinhibit; oinhibit = Vinhibit_quit; - /* Clear out any old echo-area message to make way for our new - thing. */ - echo_area_glyphs = previous_echo_glyphs = 0; + /* Clear out any old echo-area message to make way for our new thing. */ + message (0); SET_PT (osize); insert_string (m); |