From fa106e5ce27244ab0e9446f75fa8881b8ac31287 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 26 Jul 2019 17:00:57 +0200 Subject: Emacs: use tabs in makefiles --- emacs/.emacs.d/main.el | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- cgit 1.4.1