aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorClombrong <clombrong@egregore.fun>2025-04-19 12:51:26 +0200
committerClombrong <cromblong@egregore.fun>2025-04-19 12:51:26 +0200
commit4dc8b3c4019549378bbf59a85b54a7eef9f55855 (patch)
treed6f7cc9e6a9abed32d920934421a5da5b06c10c2 /.dir-locals.el
init: Oh no. This one is real.
add README and COPYING license files instantiate all dune stanzas setup dune with guix shell and direnv, using merlin for project setup
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..31be82f
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,5 @@
+((nil
+ (eval
+ . (let ((opam-share (car (process-lines "opam" "var" "share"))))
+ (when (and opam-share (file-directory-p opam-share))
+ (add-to-list 'load-path (expand-file-name "emacs/site-lisp" opam-share)))))))