aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-script.el
diff options
context:
space:
mode:
Diffstat (limited to 'generic/proof-script.el')
-rw-r--r--generic/proof-script.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 66d101fc..b2c71bce 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -1129,13 +1129,13 @@ activation is considered to have failed and an error is given."
(unless (eq proof-buffer-type 'script)
(error "Must be running in a script buffer!"))
+ (proof-shell-ready-prover queuemode) ; fire up/check mode
+
(unless (equal (current-buffer) proof-script-buffer)
;; TODO: narrow the scope of this save-excursion.
;; Where is it needed? Maybe hook functions.
(save-excursion
- (proof-shell-ready-prover queuemode) ; fire up the prover
-
;; If there's another buffer currently active, we need to
;; deactivate it (also fixing up the included files list).
(if proof-script-buffer