diff options
author | Alan Pearce | 2021-06-05 15:48:18 +0200 |
---|---|---|
committer | Alan Pearce | 2021-06-05 15:48:18 +0200 |
commit | ba51456532c18f04a717fb4b0ea832bac9b9c009 (patch) | |
tree | b24408060d1773c66cc09902e478b0202dea6956 | |
parent | b1cc8c0bf8b699c435e967873d88159aae7b2ad4 (diff) | |
download | nixfiles-ba51456532c18f04a717fb4b0ea832bac9b9c009.tar.lz nixfiles-ba51456532c18f04a717fb4b0ea832bac9b9c009.tar.zst nixfiles-ba51456532c18f04a717fb4b0ea832bac9b9c009.zip |
emacs: fix nix-indent-line warning
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 8440b9c7..bc72900d 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -765,7 +765,8 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq-local indent-tabs-mode t))) ;;;; nix -(setq nix-indent-function #'nix-indent-line) +(with-eval-after-load 'nix-mode + (setq nix-indent-function #'nix-indent-line)) (use-package nix-update :commands (nix-update-fetch)) |