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

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

[elpa] externals/csharp-mode 617dd6d 284/459: Ensure ad-do-it is called


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 617dd6d 284/459: Ensure ad-do-it is called on else branch
Date: Sun, 22 Aug 2021 13:59:45 -0400 (EDT)

branch: externals/csharp-mode
commit 617dd6d87894c4bd0a02a9d37def185896408c19
Author: Ronnie Holm <mail@bugfree.dk>
Commit: Ronnie Holm <mail@bugfree.dk>

    Ensure ad-do-it is called on else branch
---
 csharp-mode.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 7224219..bae6b9a 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -2461,12 +2461,15 @@ are the string substitutions (see `format')."
   )
 
 (defadvice c-clear-string-fences (around
-                                  csharp-mode-advice-3
+                                  csharp-disable-clear-string-fences
                                   compile activate)
-  "Disable because it breaks csharp-mode when quoting. See
-https://github.com/josteink/csharp-mode/issues/151";
+  "This turns off `c-clear-string-fences' for `csharp-mode'. When
+on for `csharp-mode' font lock breaks after an interpolated
+string or terminating simple string."
   (if (c-major-mode-is 'csharp-mode)
-      ()))
+      nil
+    ad-do-it)
+  )
 
 ;; ==================================================================
 ;; end of C#-specific optimizations of cc-mode funcs



reply via email to

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