aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 5b1fb274b..d7155993d 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,5 +1,5 @@
((coq-mode . ((eval . (let* ((project-root (locate-dominating-file buffer-file-name "_CoqProject"))
(coqprime-folder (expand-file-name "coqprime" project-root))
- (coq-path (split-string (or (getenv "COQPATH") "") ":" t)))
- (unless (memql coqprime-folder coq-path)
- (setenv "COQPATH" (mapconcat #'identity (cons coqprime-folder coq-path) ":"))))))))
+ (coq-path (split-string (or (getenv "COQPATH") "") path-separator t)))
+ (unless (member coqprime-folder coq-path)
+ (setenv "COQPATH" (mapconcat #'identity (cons coqprime-folder coq-path) path-separator))))))))