aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-compile-common.el
diff options
context:
space:
mode:
authorGravatar Hendrik Tews <hendrik@askra.de>2012-11-06 18:10:29 +0000
committerGravatar Hendrik Tews <hendrik@askra.de>2012-11-06 18:10:29 +0000
commitd0774112051c18933eb75799e749e726d8f87efc (patch)
tree1b3bfdfcea8c859901e61d5c2f8ddd4522ca92ca /coq/coq-compile-common.el
parent7640cbe2fb2b6113725a15ddb5bf7acc9404d7ee (diff)
move ancestor locking back into specific part
Diffstat (limited to 'coq/coq-compile-common.el')
-rw-r--r--coq/coq-compile-common.el19
1 files changed, 2 insertions, 17 deletions
diff --git a/coq/coq-compile-common.el b/coq/coq-compile-common.el
index ead28e22..d66b52f5 100644
--- a/coq/coq-compile-common.el
+++ b/coq/coq-compile-common.el
@@ -409,23 +409,8 @@ Chops off the last character of LIB-OBJ-FILE to convert \"x.vo\" to \"x.v\"."
(substring lib-obj-file 0 (- (length lib-obj-file) 1)))
-;; ancestor (un-)locking
-
-(defun coq-lock-ancestor (span ancestor-src)
- "Lock ancestor ANCESTOR-SRC and register it in SPAN.
-Lock only if `coq-lock-ancestor' is non-nil. Further, do nothing,
-if ANCESTOR-SRC is already a member of
-`proof-included-files-list'. Otherwise ANCESTOR-SRC is locked and
-registered in the 'coq-locked-ancestors property of the SPAN to
-properly unlock ANCESTOR-SRC on retract."
- (if coq-lock-ancestors
- (let ((true-ancestor-src (file-truename ancestor-src)))
- (unless (member true-ancestor-src proof-included-files-list)
- (proof-register-possibly-new-processed-file true-ancestor-src)
- (span-set-property
- span 'coq-locked-ancestors
- (cons true-ancestor-src
- (span-property span 'coq-locked-ancestors)))))))
+;;; ancestor unlocking
+;;; (locking is different for sequential and parallel compilation)
(defun coq-unlock-ancestor (ancestor-src)
"Unlock ANCESTOR-SRC."