mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 07:14:53 +01:00
.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>
This commit is contained in:
parent
05b7d0423d
commit
a7f7269f5f
1 changed files with 5 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue