summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Lemmer Webber <cwebber@dustycloud.org>2020-11-16 13:06:27 -0500
committerLudovic Courtès <ludo@gnu.org>2020-11-18 15:34:43 +0100
commit28aef467ee78439de8361be9ce418f7aed593aa7 (patch)
tree2a45271fd00befa52c85f7fbb103426836246b33
parente385e5fc3c6839ad3d700b50f908df8f6b9f3ad8 (diff)
downloadguix-28aef467ee78439de8361be9ce418f7aed593aa7.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 4599f06546..c95ca9e5ed 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'