aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Courtieu2008-07-24 17:52:19 +0000
committerPierre Courtieu2008-07-24 17:52:19 +0000
commit7df9b738e0e00f28419a7307900d4c2c93b7f23b (patch)
tree4af68198867a2a5e66f7ad55a8e4c46a7572088d
parent9d89b1dc46e9d8b4247b7c6ce35090b403bc1354 (diff)
Fixed the bug with coq-guess-command-line.
-rw-r--r--coq/coq.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 8a88b015..1c7390e6 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -813,8 +813,10 @@ This is specific to `coq-mode'."
(string-match ".v$" filename)) ".vo"))
(command (shell-command-to-string
(concat "cd " dir ";"
- "gmake -n -W " filename " " compiled-file
+ "make -n -W " filename " " compiled-file
"| sed s/coqc/coqtop/"))))
+ (message command)
+ (setq coq-prog-args nil)
(concat
(substring command 0 (string-match " [^ ]*$" command))
(if coq-version-is-V8-1 "-emacs-U" "-emacs")))