summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Lemmer Webber <cwebber@dustycloud.org>2020-11-16 13:06:27 -0500
committerChristopher Lemmer Webber <cwebber@dustycloud.org>2020-11-16 13:06:27 -0500
commita895eace116c59aa570b54e3a165eef3fcef26c7 (patch)
tree640b4d0c610fbf8e3429522b5c08ed43cef0329e
parent1d6e7732b163c9e945c9e5b32c726fe3b5f09c3a (diff)
downloadguix-a895eace116c59aa570b54e3a165eef3fcef26c7.tar.gz
.dir-locals.el: Use setq-local on guix-directory.
* .dir-locals.el: Use setq-local on guix-directory.  While a problem with
using setq hasn't been identified, this seems like good hygiene.
-rw-r--r--.dir-locals.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 545c1c3e8b..521c37950c 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -11,8 +11,9 @@
       . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")
 
      ;; Emacs-Guix
-     (eval . (setq guix-directory
-                   (locate-dominating-file default-directory ".dir-locals.el")))
+     (eval . (setq-local guix-directory
+                         (locate-dominating-file default-directory
+                                                 ".dir-locals.el")))
 
      ;; Geiser
      ;; This allows automatically setting the `geiser-guile-load-path'