aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorDavid Aspinall1999-11-09 11:43:51 +0000
committerDavid Aspinall1999-11-09 11:43:51 +0000
commit094f4a516bce4f4409f42866d133113f009caf51 (patch)
treedef483a49f081faa20f333b05a83fde10e879f28 /isa
parentac6a40fd23e93c24f5af3762231afdbe61f611ef (diff)
Arrange for activate-scripting to not block for interactive calls.
Diffstat (limited to 'isa')
-rw-r--r--isa/isa.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/isa/isa.el b/isa/isa.el
index 72ea520f..04bb3baf 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -267,7 +267,11 @@ This is a hook function for proof-activate-scripting-hook."
;; Wait after sending, so that queue is cleared
;; for further commands without giving "proof process
;; busy" error.
- (isa-update-thy-only buffer-file-name t t)
+ (isa-update-thy-only buffer-file-name t
+ ;; whether to block or not
+ (if (and (boundp 'activated-interactively)
+ activated-interactively)
+ nil t))
;; Leave the messages from the update around.
(setq proof-shell-erase-response-flag nil))))