aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index 0c738696..e80bdf0b 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -573,8 +573,9 @@ didn't cause prover output."
"Interrupt: script management may be in an inconsistent state
(but it's probably okay)"))
(t ; error
- (save-excursion
- (proof-shell-handle-delayed-output))
+ (if proof-shell-delayed-output-start
+ (save-excursion
+ (proof-shell-handle-delayed-output)))
(proof-shell-handle-error-output
(if proof-shell-truncate-before-error proof-shell-error-regexp)
'proof-error-face)