diff options
author | Jason Gross <jgross@mit.edu> | 2017-01-07 19:37:53 -0500 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-01-07 19:37:53 -0500 |
commit | 06e521e61835022bb8fc2368fc190cb31a077687 (patch) | |
tree | 6a87a02334ea24d388ad96def769aebfff9dff09 /.dir-locals.el.in | |
parent | de3346f052111a23ada2687af7a8b52150faec4a (diff) |
Kludge to get a Windows-valid .dir-locals.el
Pass in PATHSEP=";" to `make .dir-locals.el`. Hopefully I'll find a
better way soon.
Diffstat (limited to '.dir-locals.el.in')
-rw-r--r-- | .dir-locals.el.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.dir-locals.el.in b/.dir-locals.el.in index 6153af754..5945f1a68 100644 --- a/.dir-locals.el.in +++ b/.dir-locals.el.in @@ -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))) + (coq-path (split-string (or (getenv "COQPATH") "") "@PATHSEP@" t))) (unless (memql coqprime-folder coq-path) - (setenv "COQPATH" (mapconcat #'identity (cons coqprime-folder coq-path) ":")))))))) + (setenv "COQPATH" (mapconcat #'identity (cons coqprime-folder coq-path) "@PATHSEP@")))))))) |