summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorTomas Volf <wolf@wolfsden.cz>2023-10-08 23:03:46 +0200
committerJohn Kehayias <john.kehayias@protonmail.com>2023-11-28 15:43:20 -0500
commita7f7269f5f19c306c5082461b03797c2e92edf6f (patch)
tree65de44ff9f44cf07a13ec38f917fddde99f19f52 /.dir-locals.el
parent05b7d0423dc51617666e6b5778ed4eb008941753 (diff)
.dir-locals.el: Use guix repl as geiser-guile-binary.
See discussion at <https://gitlab.com/nonguix/nonguix/-/merge_requests/346>. Default geiser-guile-binary is guile, which uses an old guix. This leads to annoying errors when trying to work with the this repository from geiser. So, set the variable to '("guix" "repl"), which will use the current guix command, making everything work properly. Note that this may be unexpected for someone working with a local Guix checkout (differing Guix version) and may need adjusting then. * .dir-locals.el (scheme-mode): Add geiser-guile-binary setting. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index b934213..b54f600 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -13,7 +13,11 @@
(c-mode . ((c-file-style . "gnu")))
(scheme-mode
.
- ((indent-tabs-mode . nil)
+ ;; Note this next setting will use the current guix as the geiser binary;
+ ;; one working with a local guix checkout may want something different.
+ ((geiser-guile-binary . ("guix" "repl"))
+
+ (indent-tabs-mode . nil)
(eval . (put 'eval-when 'scheme-indent-function 1))
(eval . (put 'call-with-prompt 'scheme-indent-function 1))
(eval . (put 'test-assert 'scheme-indent-function 1))