aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-system.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-12-13 16:40:05 +0100
committerGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-12-13 16:40:05 +0100
commit805c1b7ddc1a5c9254bc2252b2d87e79311d4521 (patch)
tree466a0664d7de87c7ba1fffc57faeb31e0194d0d4 /coq/coq-system.el
parent7aafefd252df6ff13b93ad388e767c771f56e916 (diff)
Same name guessing for coqc/coqdep then for coqtop.
Diffstat (limited to 'coq/coq-system.el')
-rw-r--r--coq/coq-system.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/coq/coq-system.el b/coq/coq-system.el
index 5d9df691..ffec7874 100644
--- a/coq/coq-system.el
+++ b/coq/coq-system.el
@@ -43,13 +43,15 @@ See also `coq-prog-env' to adjust the environment."
:group 'coq)
(defcustom coq-dependency-analyzer
- (proof-locate-executable "coqdep" t '("C:/Program Files/Coq/bin"))
+ (if (executable-find "coqdep") "coqdep"
+ (proof-locate-executable "coqdep" t '("C:/Program Files/Coq/bin")))
"Command to invoke coqdep."
:type 'string
:group 'coq)
(defcustom coq-compiler
- (proof-locate-executable "coqc" t '("C:/Program Files/Coq/bin"))
+ (if (executable-find "coqc") "coqc"
+ (proof-locate-executable "coqc" t '("C:/Program Files/Coq/bin")))
"Command to invoke the coq compiler."
:type 'string
:group 'coq)