diff options
author | Jason Gross <jgross@mit.edu> | 2017-05-18 12:50:36 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-05-18 12:50:36 -0400 |
commit | 79595b45e68c6234aff54f076687a8024c4a2aaa (patch) | |
tree | 739486404da77a350e60edb34605e3ffbb6ea141 /plugins | |
parent | 9f11adda4bff194a3c6a66d573ce7001d4399886 (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.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/.dir-locals.el b/plugins/.dir-locals.el new file mode 100644 index 000000000..4e8830f6c --- /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"))))))) |