aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/tools/coqdev.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev/tools/coqdev.el b/dev/tools/coqdev.el
index ec72f96509..c6687b9731 100644
--- a/dev/tools/coqdev.el
+++ b/dev/tools/coqdev.el
@@ -80,9 +80,8 @@ Note that this function is executed before _Coqproject is read if it exists."
(when dir
(unless coq-prog-args
(setq coq-prog-args
- `("-coqlib" ,dir "-R" ,(concat dir "plugins")
- "Coq" "-R" ,(concat dir "theories")
- "Coq")))
+ `("-coqlib" ,dir
+ "-topfile" ,buffer-file-name)))
(setq-local coq-prog-name (concat dir "bin/coqtop")))))
(add-hook 'hack-local-variables-hook #'coqdev-setup-proofgeneral)