[Emacs] Force tabs in all Makefiles

This commit is contained in:
Lucien Cartier-Tilet 2022-08-07 12:57:28 +02:00
parent 054513273e
commit d7cdb51652
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -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