aboutsummaryrefslogtreecommitdiff
path: root/isa/isa.el
diff options
context:
space:
mode:
authorDavid Aspinall1998-11-20 14:25:38 +0000
committerDavid Aspinall1998-11-20 14:25:38 +0000
commitb23d4243bcdf6acdda1af8143ad9e7fc901d25c4 (patch)
tree1e2f71b6dcf2d696cf81435f1dea8ac5082f2050 /isa/isa.el
parent42e140a8405b11a04b309ed3f99805aaa44c5268 (diff)
Improvements for multiple files and robustness: keep a copy of
the initial theory database state, and add a restart command.
Diffstat (limited to 'isa/isa.el')
-rw-r--r--isa/isa.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/isa/isa.el b/isa/isa.el
index 1bdfc55b..8a5421d1 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -180,6 +180,9 @@ no regular or easily discernable structure."
;; initial command configures Isabelle by hacking print functions.
proof-shell-init-cmd
(concat "use \"" proof-home-directory "isa/ProofGeneral.ML\";")
+ proof-shell-restart-cmd "ProofGeneral.restart();"
+ proof-shell-quit-cmd "exit 1;"
+
proof-shell-eager-annotation-start "\360\\|\362\\|\364"
proof-shell-eager-annotation-end "\361\\|\363\\|\365"
@@ -346,6 +349,7 @@ isa-proofscript-mode."
(define-key map "\C-c\C-b" 'isa-process-thy-file)
(define-key map "\C-c\C-u" 'isa-retract-thy-file)))
+;; FIXME: could test that the buffer isn't already locked.
(defun isa-process-thy-file (file)
"Process the theory file FILE. If interactive, use buffer-file-name."
(interactive (list buffer-file-name))