diff options
| author | Hendrik Tews | 2013-01-03 09:33:38 +0000 |
|---|---|---|
| committer | Hendrik Tews | 2013-01-03 09:33:38 +0000 |
| commit | 28a0ffbcb1c6a442a4f5d4a3825ea303dca8b854 (patch) | |
| tree | 745cd4df971687f6a8843c9658f4d00f65ab8de1 /coq/coq-compile-common.el | |
| parent | b35facae2146b09570c0636ed92e82af641db6b6 (diff) | |
- fix asserting when parallel background compilation is in progress
- fix aborting background compilation on error
Diffstat (limited to 'coq/coq-compile-common.el')
| -rw-r--r-- | coq/coq-compile-common.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coq/coq-compile-common.el b/coq/coq-compile-common.el index e24cc5b2..a66f68c8 100644 --- a/coq/coq-compile-common.el +++ b/coq/coq-compile-common.el @@ -63,6 +63,8 @@ Must be used together with `coq-seq-disable'." (add-hook 'proof-shell-extend-queue-hook 'coq-par-preprocess-require-commands) (add-hook 'proof-shell-signal-interrupt-hook + 'coq-par-emergency-cleanup) + (add-hook 'proof-shell-handle-error-or-interrupt-hook 'coq-par-emergency-cleanup)) (defun coq-par-disable () @@ -71,6 +73,8 @@ Must be used together with `coq-seq-enable'." (remove-hook 'proof-shell-extend-queue-hook 'coq-par-preprocess-require-commands) (remove-hook 'proof-shell-signal-interrupt-hook + 'coq-par-emergency-cleanup) + (remove-hook 'proof-shell-handle-error-or-interrupt-hook 'coq-par-emergency-cleanup)) (defun coq-seq-enable () |
