summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2016-04-30 17:28:24 +0000
committerAlan Mackenzie <acm@muc.de>2016-04-30 17:30:29 +0000
commit8e4595a438fe85dd109756886cdeaeea2e665afb (patch)
tree44a38d71221942fc4417d66877dd8b83e6c787ef /.dir-locals.el
parent9392193be56eebdfac702a0bbb5e954088371c7a (diff)
downloademacs-8e4595a438fe85dd109756886cdeaeea2e665afb.tar.gz
* .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 9853d7b5d88..1aa71ff6f15 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,7 +1,10 @@
((nil . ((tab-width . 8)
(sentence-end-double-space . t)
(fill-column . 70)))
- (c-mode . ((c-file-style . "GNU")))
+ (c-mode . ((c-file-style . "GNU")
+ (c-noise-macro-with-parens-names . ("IF_LINT"))
+ (eval . (c-make-noise-macro-regexps))
+ ))
(objc-mode . ((c-file-style . "GNU")))
(log-edit-mode . ((log-edit-font-lock-gnu-style . t)
(log-edit-setup-add-author . t)))