aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/proof-shell.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index a19d84e3..acb70b7e 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -2096,13 +2096,16 @@ processing."
;; assumes that PGIP provers are ready-to-go, without
;; needing init-cmd before PGIP processing). We do this
;; so that user preferences may be then set sensibly in
- ;; the proof-shell-init-cmd.
+ ;; the next step.
(proof-maybe-askprefs)
- ;; Now send the init cmd proper.
+ ;; Now send the initialisation commands.
(unwind-protect
- (if proof-shell-init-cmd
- (proof-shell-invisible-command proof-shell-init-cmd t))
+ (progn
+ (if proof-shell-init-cmd
+ (proof-shell-invisible-command proof-shell-init-cmd t))
+ (if proof-assistant-settings
+ (proof-shell-invisible-command (proof-assistant-settings-cmd) t)))
;; Configure for x-symbol [even if the init cmd caused some error]
(proof-x-symbol-shell-config)))))))