From f3273b6707ecbf47672f616e86be26b96cbc8d0a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 9 Oct 1995 16:36:59 +0000 Subject: [PATCH] (temp_echo_area_glyphs): Restore the old point value. --- src/minibuf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2