]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcall_interactively): Lock the display before executing the command, no
authorKarl Heuer <kwzh@gnu.org>
Tue, 28 Feb 1995 05:26:35 +0000 (05:26 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 28 Feb 1995 05:26:35 +0000 (05:26 +0000)
matter how we execute it.

src/callint.c

index a1dfbe6cd29a74de39671ee2f4abbfc03fc14eaf..1ee61d9e35f8d14098868cecd35ebcf832920682 100644 (file)
@@ -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);
     }