branch: externals/csharp-mode commit 29dab33e0ef5927c9b654e79382e79c161cc78e0 Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Silence warning in compatibility-shim. --- csharp-mode.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/csharp-mode.el b/csharp-mode.el index f5649c4..389de5a 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -981,10 +981,11 @@ to work properly with code that includes attributes." 'c-decl-id-start) (c-forward-syntactic-ws)) (save-match-data - (condition-case nil - (c-font-lock-declarators limit t nil) - (wrong-number-of-arguments - (c-font-lock-declarators limit t nil nil)))) + (ignore-errors + (condition-case nil + (c-font-lock-declarators limit t nil) + (wrong-number-of-arguments + (c-font-lock-declarators limit t nil nil))))) (goto-char (match-end 0)) ) )))