aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2008-01-31 21:50:32 +0000
committerDavid Aspinall2008-01-31 21:50:32 +0000
commite28ca43a04cb004ef958dd56116475a0655eebb3 (patch)
tree36105fee016a2192bd15529ab5830f9ccc9bd190
parente75ba290328e69c6912d9d0da4ac38f22ef0da62 (diff)
Use coq-prog-name when looking for library, not hard coded coqtop
-rw-r--r--coq/coq.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 924a7338..80ccb539 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -22,7 +22,7 @@
(require 'span))
(require 'coq-local-vars)
-(require 'coq-syntax) ; determines coq version
+(require 'coq-syntax) ; determines coq version, sets coq-prog-name
;; ----- coq-shell configuration options
@@ -133,7 +133,7 @@ On Windows you might need something like:
(setq tags-always-exact t) ; Tags is unusable with Coq library otherwise:
(defun coq-library-directory ()
- (let ((c (substring (shell-command-to-string "coqtop -where") 0 -1 )))
+ (let ((c (substring (shell-command-to-string (concat coq-prog-name " -where")) 0 -1 )))
(if (string-match c "not found")
"/usr/local/lib/coq"
c)))