[PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add c-mode settings for the files in the src directory. Additionally,
make indent-tabs-mode global such that it also applies to the
.dir-locals.el file itself.

Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx>
---
 .dir-locals.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 46961929fac9..994103c63d39 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,4 +1,6 @@
 ((sh-mode . ((sh-basic-offset . 8)
 	     (sh-indentation . 8)
-	     (fill-column . 80)
-	     (indent-tabs-mode . t))))
+	     (fill-column . 80)))
+ (c-mode .  ((c-basic-offset . 8)
+	     (c-label-minimum-indentation . 0)))
+ (nil .     ((indent-tabs-mode . t))))
-- 
2.18.0




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux