summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/emacs.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index bab94999..2b8311ed 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -185,15 +185,15 @@ in
     };
     extraConfig = ''
       (with-eval-after-load 'editorconfig
-        (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig"))
+        (defvar editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig"))
       (when (featurep 'native-compile)
-        (setq native-compile-target-directory "${nativeCompileDirectory}")
+        (defvar native-compile-target-directory "${nativeCompileDirectory}")
         (add-to-list 'native-comp-eln-load-path "${nativeCompileDirectory}" :append))
     '' + lib.optionalString stdenv.isDarwin ''
       (with-eval-after-load 'files
-        (setq insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls"))
+        (defvar insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls"))
       (with-eval-after-load 'dired
-        (setq dired-use-ls-dired t))
+        (defvar dired-use-ls-dired t))
     '';
   };
   home.packages = with pkgs; [