aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJason Gross2017-05-18 12:50:36 -0400
committerJason Gross2017-05-18 12:50:36 -0400
commit79595b45e68c6234aff54f076687a8024c4a2aaa (patch)
tree739486404da77a350e60edb34605e3ffbb6ea141 /plugins
parent9f11adda4bff194a3c6a66d573ce7001d4399886 (diff)
Add .dir-locals.el to plugins
As requested in https://github.com/coq/coq/pull/386#issuecomment-302358542
Diffstat (limited to 'plugins')
-rw-r--r--plugins/.dir-locals.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/.dir-locals.el b/plugins/.dir-locals.el
new file mode 100644
index 0000000000..4e8830f6c1
--- /dev/null
+++ b/plugins/.dir-locals.el
@@ -0,0 +1,4 @@
+((coq-mode . ((eval . (let ((default-directory (locate-dominating-file
+ buffer-file-name ".dir-locals.el")))
+ (setq-local coq-prog-args `("-coqlib" ,(expand-file-name "..") "-R" ,(expand-file-name ".") "Coq"))
+ (setq-local coq-prog-name (expand-file-name "../bin/coqtop")))))))