diff options
author | Alan Pearce | 2024-05-21 18:40:12 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-21 18:40:12 +0200 |
commit | d26176849ff400ea3752d6b4da2437b8f6d6bb40 (patch) | |
tree | f44ac991e0a0c9dde6aaadb47fcf3cda050dfdfa /user/settings | |
parent | cb1f99a3c0a622042604efc3b6ede90fd7df262d (diff) | |
download | nixfiles-d26176849ff400ea3752d6b4da2437b8f6d6bb40.tar.lz nixfiles-d26176849ff400ea3752d6b4da2437b8f6d6bb40.tar.zst nixfiles-d26176849ff400ea3752d6b4da2437b8f6d6bb40.zip |
emacs: silence byte-compiler warnings from extraConfig
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/emacs.nix | 8 |
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; [ |