From: Richard M. Stallman Date: Mon, 9 Oct 1995 16:36:59 +0000 (+0000) Subject: (temp_echo_area_glyphs): Restore the old point value. X-Git-Tag: emacs-19.34~2698 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3273b6707ecbf47672f616e86be26b96cbc8d0a;p=emacs.git (temp_echo_area_glyphs): Restore the old point value. --- diff --git a/src/minibuf.c b/src/minibuf.c index ef4289c8e3d..27855e16990 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1050,6 +1050,7 @@ temp_echo_area_glyphs (m) char *m; { int osize = ZV; + int opoint = PT; Lisp_Object oinhibit; oinhibit = Vinhibit_quit; @@ -1058,10 +1059,11 @@ temp_echo_area_glyphs (m) SET_PT (osize); insert_string (m); - SET_PT (osize); + SET_PT (opoint); Vinhibit_quit = Qt; Fsit_for (make_number (2), Qnil, Qnil); del_range (PT, ZV); + SET_PT (opoint); if (!NILP (Vquit_flag)) { Vquit_flag = Qnil;