summary refs log tree commit diff
diff options
context:
space:
mode:
-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'