]> code.delx.au - gnu-emacs/blobdiff - .dir-locals.el
* .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"
[gnu-emacs] / .dir-locals.el
index 9853d7b5d88b558b7ebd754c6ddbd3fbd77ca0a2..1aa71ff6f15e40202bf270afae5d99a6a1c915a7 100644 (file)
@@ -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)))