bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#35224: [PATCH] include indentation size in .dir-locals


From: Konstantin Kharlamov
Subject: bug#35224: [PATCH] include indentation size in .dir-locals
Date: Thu, 11 Apr 2019 04:10:46 +0300

* .dir-locals.el (c-mode): include indentation size
---
 .dir-locals.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.dir-locals.el b/.dir-locals.el
index 9cd39920c23..657ac32d00f 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
          (fill-column . 70)))
  (c-mode . ((c-file-style . "GNU")
             (c-noise-macro-names . ("INLINE" "ATTRIBUTE_NO_SANITIZE_UNDEFINED" 
"UNINIT" "CALLBACK" "ALIGN_STACK"))
+            (c-basic-offset . 2)
             (electric-quote-comment . nil)
             (electric-quote-string . nil)))
  (objc-mode . ((c-file-style . "GNU")
-- 
2.21.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]