emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 eda9f50: Another fix for C mode fontification of


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 eda9f50: Another fix for C mode fontification of w32 source files
Date: Sat, 14 Oct 2017 04:20:54 -0400 (EDT)

branch: emacs-26
commit eda9f5018cdf8e23f47f5f7421539ce56ed7148b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Another fix for C mode fontification of w32 source files
    
    * .dir-locals.el (c-mode) <c-noise-macro-names>: Add
    "CALLBACK", to correctly fontify functions with this attribute.
---
 .dir-locals.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index eb80d96..68eb58f 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -2,7 +2,7 @@
          (sentence-end-double-space . t)
          (fill-column . 70)))
  (c-mode . ((c-file-style . "GNU")
-            (c-noise-macro-names . ("UNINIT" "ALIGN_STACK"))))
+            (c-noise-macro-names . ("UNINIT" "CALLBACK" "ALIGN_STACK"))))
  (objc-mode . ((c-file-style . "GNU")))
  (log-edit-mode . ((log-edit-font-lock-gnu-style . t)
                    (log-edit-setup-add-author . t)))



reply via email to

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