From 79a11eaa2dacd7724e19e3d2b17e0b73093d6e09 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 10 Aug 2015 10:43:13 +0200 Subject: Emacs: Fix nix-mode initialisation --- tag-emacs/emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 7522d1f..e34a0e8 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)) -- cgit 1.4.1