summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-07-26 17:00:57 +0200
committerAlan Pearce2019-07-26 17:00:57 +0200
commitfa106e5ce27244ab0e9446f75fa8881b8ac31287 (patch)
tree650089ffcfaca7bf1983655def4d788610caab0e /emacs
parent605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691 (diff)
downloaddotfiles-fa106e5ce27244ab0e9446f75fa8881b8ac31287.tar.lz
dotfiles-fa106e5ce27244ab0e9446f75fa8881b8ac31287.tar.zst
dotfiles-fa106e5ce27244ab0e9446f75fa8881b8ac31287.zip
Emacs: use tabs in makefiles
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 8b448ec..d0e5b8d 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -482,6 +482,11 @@ With two prefix arguments, write out the day and month name."
 
 (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
 
+;;;; make
+(general-add-hook 'makefile-mode-hook
+                  (lambda ()
+                    (setq-local indent-tabs-mode t)))
+
 ;;;; nix
 (custom-set-variables '(nix-indent-function #'nix-indent-line))