aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dev/tools/coqdev.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/tools/coqdev.el b/dev/tools/coqdev.el
index 20613a4cf..01334690c 100644
--- a/dev/tools/coqdev.el
+++ b/dev/tools/coqdev.el
@@ -39,7 +39,7 @@
(defun coqdev-setup-compile-command ()
"Setup `compilate-command' for Coq development."
(let ((dir (coqdev-default-directory)))
- (when dir (setq-local compile-command (concat "make -C " dir)))))
+ (when dir (setq-local compile-command (concat "make -C " (shell-quote-argument dir))))))
(add-hook 'hack-local-variables-hook #'coqdev-setup-compile-command)
(defvar camldebug-command-name) ; from camldebug.el (caml package)