changeset 13162:74da6a581095

(temp_echo_area_glyphs): Restore the old point value.
author Richard M. Stallman <rms@gnu.org>
date Mon, 09 Oct 1995 16:36:59 +0000
parents 4056f3c1cbfc
children 01f90e21a1db
files src/minibuf.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Mon Oct 09 04:49:15 1995 +0000
+++ b/src/minibuf.c	Mon Oct 09 16:36:59 1995 +0000
@@ -1050,6 +1050,7 @@
      char *m;
 {
   int osize = ZV;
+  int opoint = PT;
   Lisp_Object oinhibit;
   oinhibit = Vinhibit_quit;
 
@@ -1058,10 +1059,11 @@
 
   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;