aboutsummaryrefslogtreecommitdiff
path: root/lclam/lclam.el
diff options
context:
space:
mode:
authorDavid Aspinall2008-01-15 13:07:11 +0000
committerDavid Aspinall2008-01-15 13:07:11 +0000
commit6a3c8d9bd0db3a4db6a01a0f587f309da568a943 (patch)
treeca5c18733e7e29d16e7cba52dd4c5f18ab072bf5 /lclam/lclam.el
parent5c326ac3969d8045c78f46aac4f058f16edbc570 (diff)
Many compatibility updates, bug fixes, rearrangements for compilation.
Diffstat (limited to 'lclam/lclam.el')
-rw-r--r--lclam/lclam.el14
1 files changed, 3 insertions, 11 deletions
diff --git a/lclam/lclam.el b/lclam/lclam.el
index ae171aa0..2cc14d66 100644
--- a/lclam/lclam.el
+++ b/lclam/lclam.el
@@ -47,6 +47,8 @@
proof-kill-goal-command nil
proof-assistant-homepage lclam-web-page
proof-auto-multiple-files nil
+ proof-prog-name lclam-prog-name
+ proof-shell-process-connection-type t
))
(defun lclam-shell-config ()
@@ -100,16 +102,6 @@
(lclam-proofscript-mode)))
)
-;; Hook which configures settings to get the proof shell running
-
-(add-hook 'proof-pre-shell-start-hook 'lclam-pre-shell-start)
-
-(defun lclam-pre-shell-start ()
- (setq proof-prog-name lclam-prog-name)
- (setq proof-mode-for-shell 'lclam-shell-mode)
- (setq proof-mode-for-response 'lclam-response-mode)
- (setq proof-mode-for-goals 'lclam-goals-mode)
- (setq proof-shell-process-connection-type t))
;;
@@ -197,7 +189,7 @@
(proof-shell-invisible-command
(proof-format-filename
;; %r parameter means relative (don't expand) path
- (format "use_thy \"%%r\"." (if try "try_" ""))
+ (format "use_thy \"%s%%r\"." (if try "try_" ""))
(file-name-nondirectory file))
wait))