diff options
author | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2016-12-12 11:27:24 +0100 |
---|---|---|
committer | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2016-12-12 11:27:24 +0100 |
commit | 7aafefd252df6ff13b93ad388e767c771f56e916 (patch) | |
tree | fbcf43919defebc04c27d805864d6d99e3404fdf /coq/coq-system.el | |
parent | c1e06d2c2d67236aeedb59137d155d93d0646596 (diff) |
remove default absolute name from coq-prog-name, but keep dipsplaying it when asking for it.
Diffstat (limited to 'coq/coq-system.el')
-rw-r--r-- | coq/coq-system.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coq/coq-system.el b/coq/coq-system.el index 997e93d2..5d9df691 100644 --- a/coq/coq-system.el +++ b/coq/coq-system.el @@ -30,7 +30,8 @@ On Windows you might need something like: :group 'coq) (defcustom coq-prog-name - (proof-locate-executable "coqtop" t '("C:/Program Files/Coq/bin")) + (if (executable-find "coqtop") "coqtop" + (proof-locate-executable "coqtop" t '("C:/Program Files/Coq/bin"))) "*Name of program to run as Coq. See `proof-prog-name', set from this. On Windows with latest Coq package you might need something like: C:/Program Files/Coq/bin/coqtop.opt.exe |