From 79595b45e68c6234aff54f076687a8024c4a2aaa Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Thu, 18 May 2017 12:50:36 -0400 Subject: Add .dir-locals.el to plugins As requested in https://github.com/coq/coq/pull/386#issuecomment-302358542 --- plugins/.dir-locals.el | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 plugins/.dir-locals.el (limited to 'plugins') 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"))))))) -- cgit v1.2.3