]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
dir-locals.el: fix indenation with Emacs
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 6 Jul 2018 08:21:28 +0000 (10:21 +0200)
committerOmar Sandoval <osandov@fb.com>
Fri, 6 Jul 2018 21:17:10 +0000 (14:17 -0700)
A recent update of Emacs broke .dir-locals.el's shell indentation
setting.

Also set 'sh-indentation' not just 'sh-basic-offset' for this.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
.dir-locals.el

index f64c48202910dd533b222382cedd58cc2fe1a361..46961929fac999b29b08d38b7e03fc14c234c732 100644 (file)
@@ -1,3 +1,4 @@
 ((sh-mode . ((sh-basic-offset . 8)
+            (sh-indentation . 8)
             (fill-column . 80)
             (indent-tabs-mode . t))))