aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
authorHendrik Tews2011-01-12 22:17:22 +0000
committerHendrik Tews2011-01-12 22:17:22 +0000
commit4eb269982af632d39fe9f28c866436acd7d36370 (patch)
tree5eeeb009146f765d3a06dc5108d6fe246594fb47 /generic/proof-shell.el
parentc91f610f662a1357522a12276ee51e8cb18fce91 (diff)
Add preliminary support for multiple files for coq.
The following points are implemented already: - recompile either via an external command (make) or let ProofGeneral handle everything internally - complete dependency tracking and recompilation for coq files in internal mode - support for extending the LoadPath: does almost work, even if specified file-locally - move back to clean state if recompilation fails There are the following known problems: - coq-load-path extensions are not retracted - fails on partially qualified library names
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index 0c0b2173..a09ddd78 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -924,6 +924,11 @@ To make sense, the commands should correspond to processing actions
for processing a region from (buffer-queue-or-locked-end) to END.
The queue mode is set to 'advancing"
(proof-set-queue-endpoints (proof-unprocessed-begin) end)
+ (condition-case err
+ (run-hooks 'proof-shell-extend-queue-hook)
+ (error
+ (proof-detach-queue)
+ (signal (car err) (cdr err))))
(proof-add-to-queue queueitems 'advancing))