emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/csharp-mode 561c359 258/459: Fix fontification in Emacs


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 561c359 258/459: Fix fontification in Emacs27.
Date: Sun, 22 Aug 2021 13:59:39 -0400 (EDT)

branch: externals/csharp-mode
commit 561c359532ded63ebc8dc08ff64c1db2ffd672e4
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Fix fontification in Emacs27.
    
    Some more breaking cc-mode changes. Completely halts all fontification.
    
    Fix it by ignoring it... For now.
---
 csharp-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index e07199a..d1fb8b2 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -753,7 +753,8 @@ to work properly with code that includes attributes."
              ;; Match a char before the string starter to make
              ;; `c-skip-comments-and-strings' work correctly.
              (concat ".\\(" c-string-limit-regexp "\\)")
-             '((c-font-lock-invalid-string)))
+             '((when (fboundp 'c-font-lock-invalid-string)
+                 (c-font-lock-invalid-string))))
 
 
            ;; Fontify keyword constants.



reply via email to

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