aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/docstring-magic.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-17 12:50:40 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-17 12:50:40 +0000
commit187c27253908f8a2aac52f04c195009dc277669e (patch)
tree744740ea60b4e603a06373f2c6b7ee97c74a9a87 /doc/docstring-magic.el
parent65bd9ad4ddb2a7513f551f628e9c63e4ddb6cfed (diff)
Update for new startup mechanism.
Diffstat (limited to 'doc/docstring-magic.el')
-rw-r--r--doc/docstring-magic.el24
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/docstring-magic.el b/doc/docstring-magic.el
index 0d45dea2..b1a45b7d 100644
--- a/doc/docstring-magic.el
+++ b/doc/docstring-magic.el
@@ -15,12 +15,11 @@
(require 'proof-compat)
(require 'proof-utils)
-; need these?
-;(require 'pg-user)
-;(require 'pg-goals)
-;(require 'pg-response)
-;; FIXME: Loading several prover files at once is a bit of a problem
+;; Prevent loading some files normally loaded in compilation
+
+
+;; NB: Loading several prover files at once is a bit of a problem
;; with new config mechanism.
;; Could abstract more code in proof-site.el to avoid duplication here.
(let ((assistants (mapcar (function car) proof-assistant-table)))
@@ -38,19 +37,19 @@
(assistant-name (car nameregexp))
(sname (symbol-name assistant))
(elisp-file sname))
- (proof-ready-for-assistant assistant-name assistant)
+ (proof-ready-for-assistant assistant assistant-name)
;; Must load proof-config each time to define proof assistant
;; specific variables
- (setq features (delete 'proof-config features))
- (load "proof-config.el")
+ (setq features (delete 'pg-custom features))
+ (load "pg-custom.el")
(load-library elisp-file)
(setq assistants (cdr assistants)))))
;; Now a fake proof assistant to document the automatically
;; specific variables
-(proof-ready-for-assistant "PROOF ASSISTANT" 'PA)
-(setq features (delete 'proof-config features))
-(load "proof-config.el")
+(proof-ready-for-assistant 'PA "PROOF ASSISTANT")
+(setq features (delete 'pg-custom features))
+(load "pg-custom.el")
;; These next few are autoloaded usually
@@ -58,6 +57,9 @@
(load "proof-toolbar.el")
(load "proof-script.el")
(load "proof-shell.el")
+(load "pg-user.el")
+(load "pg-goals.el")
+(load "pg-response.el")
;; A couple of comint symbols are mentioned in the docs
(require 'comint)