Emacs: Fix nix-mode initialisation
Alan Pearce alan@alanpearce.co.uk
Mon, 10 Aug 2015 10:43:13 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -1456,7 +1456,8 @@ (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))