all repos — archive/dotfiles @ fa106e5ce27244ab0e9446f75fa8881b8ac31287

Superseded by nixfiles

Emacs: use tabs in makefiles
Alan Pearce alan@alanpearce.eu
Fri, 26 Jul 2019 17:00:57 +0200
commit

fa106e5ce27244ab0e9446f75fa8881b8ac31287

parent

605b0a5f4ce02e3a1fa2b1d86eaeec6d6152e691

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -482,6 +482,11 @@ sh-basic-offset 2)) 
 (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))