summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-10-19 18:44:46 +0000
committerJim Blandy <jimb@redhat.com>1992-10-19 18:44:46 +0000
commit896adf849920c1066cbbddad809e44a07a2b8b46 (patch)
treed439b65d45368aabd17b0fe86224ef360b7357ef /src/minibuf.c
parent03273ec57b1bc79fa61b3c59c03d8088c980f55b (diff)
downloademacs-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.c9
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);