diff options
| author | David Aspinall | 2008-01-31 21:50:32 +0000 |
|---|---|---|
| committer | David Aspinall | 2008-01-31 21:50:32 +0000 |
| commit | e28ca43a04cb004ef958dd56116475a0655eebb3 (patch) | |
| tree | 36105fee016a2192bd15529ab5830f9ccc9bd190 | |
| parent | e75ba290328e69c6912d9d0da4ac38f22ef0da62 (diff) | |
Use coq-prog-name when looking for library, not hard coded coqtop
| -rw-r--r-- | coq/coq.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))) |
