diff options
author | Alan Pearce | 2015-08-10 10:43:13 +0200 |
---|---|---|
committer | Alan Pearce | 2015-08-10 10:43:13 +0200 |
commit | 79a11eaa2dacd7724e19e3d2b17e0b73093d6e09 (patch) | |
tree | 3a359df6b82b2cbeaada77a0edee955d0fb9e042 /tag-emacs | |
parent | 7ab1d790109e523392be25f23d0aaa8bb3e9a2e8 (diff) | |
download | nixfiles-79a11eaa2dacd7724e19e3d2b17e0b73093d6e09.tar.lz nixfiles-79a11eaa2dacd7724e19e3d2b17e0b73093d6e09.tar.zst nixfiles-79a11eaa2dacd7724e19e3d2b17e0b73093d6e09.zip |
Emacs: Fix nix-mode initialisation
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 7522d1fa..e34a0e8e 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1456,7 +1456,8 @@ configuration files. (req-package nix-mode :mode (("\\.nix\\'" . nix-mode)) :config (progn - (setq-local indent-tabs-mode nil))) + (add-hook 'nix-mode-hook (lambda () + (setq-local indent-tabs-mode nil))))) (define-derived-mode xmonad-mode haskell-mode "XM") (add-to-list 'auto-mode-alist '("xmobarrc\\'" . xmonad-mode)) |