projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9392193
)
* .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"
author
Alan Mackenzie
<acm@muc.de>
Sat, 30 Apr 2016 17:28:24 +0000
(17:28 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sat, 30 Apr 2016 17:30:29 +0000
(17:30 +0000)
.dir-locals.el
patch
|
blob
|
history
diff --git
a/.dir-locals.el
b/.dir-locals.el
index 9853d7b5d88b558b7ebd754c6ddbd3fbd77ca0a2..1aa71ff6f15e40202bf270afae5d99a6a1c915a7 100644
(file)
--- 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)))