aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-09 16:36:59 +0000
committerRichard M. Stallman1995-10-09 16:36:59 +0000
commitf3273b6707ecbf47672f616e86be26b96cbc8d0a (patch)
treefe1979426eb2f8ee7fac8156416c3df20dac39c9 /src
parent8beb051325fd63d7d526e2e2917def6a7753e1f0 (diff)
downloademacs-f3273b6707ecbf47672f616e86be26b96cbc8d0a.tar.gz
emacs-f3273b6707ecbf47672f616e86be26b96cbc8d0a.zip
(temp_echo_area_glyphs): Restore the old point value.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c4
1 files changed, 3 insertions, 1 deletions
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)
1050 char *m; 1050 char *m;
1051{ 1051{
1052 int osize = ZV; 1052 int osize = ZV;
1053 int opoint = PT;
1053 Lisp_Object oinhibit; 1054 Lisp_Object oinhibit;
1054 oinhibit = Vinhibit_quit; 1055 oinhibit = Vinhibit_quit;
1055 1056
@@ -1058,10 +1059,11 @@ temp_echo_area_glyphs (m)
1058 1059
1059 SET_PT (osize); 1060 SET_PT (osize);
1060 insert_string (m); 1061 insert_string (m);
1061 SET_PT (osize); 1062 SET_PT (opoint);
1062 Vinhibit_quit = Qt; 1063 Vinhibit_quit = Qt;
1063 Fsit_for (make_number (2), Qnil, Qnil); 1064 Fsit_for (make_number (2), Qnil, Qnil);
1064 del_range (PT, ZV); 1065 del_range (PT, ZV);
1066 SET_PT (opoint);
1065 if (!NILP (Vquit_flag)) 1067 if (!NILP (Vquit_flag))
1066 { 1068 {
1067 Vquit_flag = Qnil; 1069 Vquit_flag = Qnil;