diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2000-05-16 10:03:59 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2000-05-16 10:03:59 +0000 |
commit | 71098c0becbb37ba565fb8bb42af64df404439ed (patch) | |
tree | eac72c8997b76a6d7de2aa209402525bd4cd0f7c /doc/docstring-magic.el | |
parent | f4314872d031f3ec2ebfffe9abb2c2909734c5e6 (diff) |
Fixed to load all files and define proof ass specifc vars.
Diffstat (limited to 'doc/docstring-magic.el')
-rw-r--r-- | doc/docstring-magic.el | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/doc/docstring-magic.el b/doc/docstring-magic.el index f136c8cd..327cc30d 100644 --- a/doc/docstring-magic.el +++ b/doc/docstring-magic.el @@ -9,22 +9,41 @@ ;; $Id$ ;; (setq load-path - (append - '("../generic/" "../isa/" "../lego/" "../coq/" "../isar" "../plastic/") load-path)) + (append '("../generic/") load-path)) (load "proof-site.el") -(load "proof-config.el") (load "proof.el") (load "proof-toolbar.el") ;; FIXME: Loading several prover files at once is a bit of a problem ;; with new config mechanism. -(load "isar.el") -(load "plastic.el") -(load "isa.el") +;; Could abstract more code in proof-site.el to avoid duplication here. +(let ((assistants proof-assistants)) ; assume not customized + (while assistants + (let* + ((assistant (car assistants)) ; compiler bogus warning here + (nameregexp + (or + (cdr-safe + (assoc assistant + proof-assistant-table)) + (error "proof-site: symbol " (symbol-name assistant) + "is not in proof-assistant-table"))) + (assistant-name (car nameregexp)) + (sname (symbol-name assistant)) + (elisp-file sname)) + (proof-ready-for-assistant assistant-name assistant) + ;; Must load proof-config each time to define proof assistant + ;; specific variables + (setq features (delete 'proof-config features)) + (load "proof-config.el") + (load-library elisp-file) + (setq assistants (cdr assistants))))) + +;; These next few are autoloaded usually (load "thy-mode.el") -(load "coq.el") -(load "lego.el") -(load "hol98.el") +(load "proof-menu.el") +(load "proof-utils.el") + ;; A couple of comint symbols are mentioned in the docs (require 'comint) |