[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 9c596c9 283/459: Advice to override only in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 9c596c9 283/459: Advice to override only in csharp-mode |
Date: |
Sun, 22 Aug 2021 13:59:45 -0400 (EDT) |
branch: externals/csharp-mode
commit 9c596c92d43dff4ae190fb3034089df29889b133
Author: Ronnie Holm <mail@bugfree.dk>
Commit: Ronnie Holm <mail@bugfree.dk>
Advice to override only in csharp-mode
---
csharp-mode.el | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 7048eb3..7224219 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1146,9 +1146,6 @@ to work properly with code that includes attributes."
(c-lang-defconst c-multiline-string-start-char
csharp ?@)
-(defun c-clear-string-fences ()
- "Function is made null because it breaks csharp-mode when quoting. See
https://github.com/josteink/csharp-mode/issues/151")
-
(defun csharp-mode-syntax-propertize-function (beg end)
"Apply syntax table properties to special constructs in region BEG to END.
Currently handled:
@@ -2463,6 +2460,14 @@ are the string substitutions (see `format')."
ad-do-it)
)
+(defadvice c-clear-string-fences (around
+ csharp-mode-advice-3
+ compile activate)
+ "Disable because it breaks csharp-mode when quoting. See
+https://github.com/josteink/csharp-mode/issues/151"
+ (if (c-major-mode-is 'csharp-mode)
+ ()))
+
;; ==================================================================
;; end of C#-specific optimizations of cc-mode funcs
;; ==================================================================
- [elpa] externals/csharp-mode c66916e 259/459: Update version/meta-data., (continued)
- [elpa] externals/csharp-mode c66916e 259/459: Update version/meta-data., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 239527c 263/459: Protect dmode from ccmode monkeypatch (#134), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f3aff25 261/459: Try to properly silence warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 643c63e 268/459: Highlight "value" as a constant., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode fcd092d 266/459: Add Emacs 26 to CI., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2381280 269/459: Remove excess (incorrect) comment., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 30ae136 277/459: Merge pull request #150 from josteink/josteink-CI-fix, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 57bd21b 279/459: Merge pull request #152 from DamienCassou/typos, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 31124db 281/459: Merge pull request #156 from krzsztf/fix-lambda-indentation, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ff4111e 278/459: Fix typos, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9c596c9 283/459: Advice to override only in csharp-mode,
ELPA Syncer <=
- [elpa] externals/csharp-mode 617dd6d 284/459: Ensure ad-do-it is called on else branch, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3d02042 291/459: makefile: Make repeated test-runs faster to run., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 072c3dc 292/459: Fix parts of `fontification-of-literals-detects-end-of-strings`, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ab4d62 293/459: Remove unused import, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e79d694 299/459: Add standard query operators kwds, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 608805c 300/459: Relicense to GPLv3, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c6ec8c2 306/459: Remove before/after functions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 70d3d89 297/459: Fix cl failure for old cc-mode versions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 919dd65 294/459: Fix c-default-style warnings, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b85033a 309/459: Make fontification a little less 'constant-heavy', ELPA Syncer, 2021/08/22