aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-10-19 18:44:46 +0000
committerJim Blandy1992-10-19 18:44:46 +0000
commit896adf849920c1066cbbddad809e44a07a2b8b46 (patch)
treed439b65d45368aabd17b0fe86224ef360b7357ef /src
parent03273ec57b1bc79fa61b3c59c03d8088c980f55b (diff)
downloademacs-896adf849920c1066cbbddad809e44a07a2b8b46.tar.gz
emacs-896adf849920c1066cbbddad809e44a07a2b8b46.zip
* 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')
-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,
883temp_echo_area_glyphs (m) 883temp_echo_area_glyphs (m)
884 char *m; 884 char *m;
885{ 885{
886 /* It's not very modular to do things this way, but then it seems
887 to me that the whole echo_area_glyphs thing is a hack anyway. */
888 extern char *previous_echo_glyphs;
889
890 int osize = ZV; 886 int osize = ZV;
891 Lisp_Object oinhibit; 887 Lisp_Object oinhibit;
892 oinhibit = Vinhibit_quit; 888 oinhibit = Vinhibit_quit;
893 889
894 /* Clear out any old echo-area message to make way for our new 890 /* Clear out any old echo-area message to make way for our new thing. */
895 thing. */ 891 message (0);
896 echo_area_glyphs = previous_echo_glyphs = 0;
897 892
898 SET_PT (osize); 893 SET_PT (osize);
899 insert_string (m); 894 insert_string (m);