From d7cdb51652c7a09bf62b54002c5912da61909c7a Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 7 Aug 2022 12:57:28 +0200 Subject: [PATCH] [Emacs] Force tabs in all Makefiles --- org/config/emacs.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 314dad9..68d9713 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -6283,6 +6283,17 @@ DSLs, or /Domain Specific Languages/, are languages dedicated to some very tasks, such as configuration languages or non-general programming such as SQL. +**** Makefiles +:PROPERTIES: +:CUSTOM_ID: Packages-Configuration-Programming-DSLs-Makefiles-2855jdn06jj0 +:END: +#+begin_src emacs-lisp +(defun my/local-tab-indent () + (setq-local indent-tabs-mode 1)) + +(add-hook 'makefile-mode-hook #'my/local-tab-indent) +#+end_src + **** Caddy :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Programming-languages-DSLs-Caddy0fw5fl6184j0