branch: externals/csharp-mode commit 617dd6d87894c4bd0a02a9d37def185896408c19 Author: Ronnie Holm <m...@bugfree.dk> Commit: Ronnie Holm <m...@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