Skip to content
Snippets Groups Projects
Verified Commit 26f0fb11 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix indentation in Makefiles with Emacs 26

It looks like in Emacs 26, the semantics of .dir-locals.el has changed:
overriding the default value of indent-tabs-mode in makefile-mode no longer
work. Therefore we no longer set a default value and rather set the variable on
a per-mode basis.

By the way, remove the setting for fill-column.
parent dee230bf
No related branches found
No related tags found
No related merge requests found
((nil . ((indent-tabs-mode . nil)
(fill-column . 79)))
(c-mode . ((c-file-style . "gnu")))
(c++-mode . ((c-file-style . "gnu")))
((c-mode . ((indent-tabs-mode . nil)
(c-file-style . "gnu")))
(c++-mode . ((indent-tabs-mode . nil)
(c-file-style . "gnu")))
(makefile-mode . ((indent-tabs-mode . t)))
(octave-mode . ((octave-block-offset . 4))))
(octave-mode . ((indent-tabs-mode . nil)
(octave-block-offset . 4))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment