Revision 4dd8dba6bb40d8aba8576bd247c8c2d8a001ee92 authored by Jason Gross on 13 May 2021, 18:28:53 UTC, committed by Jason Gross on 13 May 2021, 18:28:53 UTC
1 parent cfa7106
.dir-locals.el
((coq-mode . ((eval . (let* ((project-root (locate-dominating-file buffer-file-name "_CoqProject"))
(coqprime-folder (expand-file-name "coqprime/src" project-root))
(rewriter-folder (expand-file-name "rewriter/src" project-root))
(rupicola-folder (expand-file-name "rupicola/src" project-root))
(bedrock2-folder (expand-file-name "rupicola/bedrock2/bedrock2/src" project-root))
(coqutil-folder (expand-file-name "rupicola/bedrock2/deps/coqutil/src" project-root))
(coq-path (lambda () (split-string (or (getenv "COQPATH") "") path-separator t))))
(unless (member coqutil-folder (funcall coq-path))
(setenv "COQPATH" (mapconcat #'identity (cons coqutil-folder (funcall coq-path)) path-separator)))
(unless (member rewriter-folder (funcall coq-path))
(setenv "COQPATH" (mapconcat #'identity (cons rewriter-folder (funcall coq-path)) path-separator)))
(unless (member rupicola-folder (funcall coq-path))
(setenv "COQPATH" (mapconcat #'identity (cons rupicola-folder (funcall coq-path)) path-separator)))
(unless (member bedrock2-folder (funcall coq-path))
(setenv "COQPATH" (mapconcat #'identity (cons bedrock2-folder (funcall coq-path)) path-separator)))
(unless (member coqprime-folder (funcall coq-path))
(setenv "COQPATH" (mapconcat #'identity (cons coqprime-folder (funcall coq-path)) path-separator))))))))
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...