On Mon, 7 Jan 2019 10:20:19 -0800 Bart Van Assche <bvanassche@xxxxxxx> wrote: > In emacs 23.1 support for directory-local variables was added (see also > https://lists.gnu.org/archive/html/info-gnu-emacs/2009-07/msg00000.html). > Simplify the settings in coding-style.rst by using that feature. > Additionally, do not inherit any settings from emacs' linux coding style > to minimize dependencies on the version of emacs that is being used. > > I have verified with several large and nontrivial kernel source files > that the new settings format code according to what checkpatch expects. > > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> > Cc: Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx> > Cc: Alison Chaiken <alison@xxxxxxxxxxxxx> > Cc: Joe Perches <joe@xxxxxxxxxxx> > Cc: Federico Vaga <federico.vaga@xxxxxxxxxx> > Cc: Geyslan G. Bem <geyslan@xxxxxxxxx> > Cc: Tiago Natel de Moura <tiago4orion@xxxxxxxxx> I've applied this (and I'm off to change my .emacs file). Thanks! jon