summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-02-28 05:26:35 +0000
committerKarl Heuer <kwzh@gnu.org>1995-02-28 05:26:35 +0000
commit75f7a1eff27be110639670f4d4d8fd8b09c224c9 (patch)
tree3b44c186cbc3332aad219fbfc96d1c682d36aa10 /src/callint.c
parentc1b2dd55911e734f537b465a0bb3162bfa3fb6e3 (diff)
downloademacs-75f7a1eff27be110639670f4d4d8fd8b09c224c9.tar.gz
(Fcall_interactively): Lock the display before executing the command, no
matter how we execute it.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/callint.c b/src/callint.c
index a1dfbe6cd29..1ee61d9e35f 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -254,7 +254,12 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
specs = Fcar (Fcdr (specs));
}
else if (EQ (funcar, Qmocklisp))
- return ml_apply (fun, Qinteractive);
+ {
+#ifdef MULTI_PERDISPLAY
+ display_locked = 1;
+#endif
+ return ml_apply (fun, Qinteractive);
+ }
else
goto lose;
@@ -306,6 +311,9 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
Vcommand_history
= Fcons (Fcons (function, values), Vcommand_history);
}
+#ifdef MULTI_PERDISPLAY
+ display_locked = 1;
+#endif
return apply1 (function, specs);
}