branch: externals/csharp-mode commit 14bc3c6b006e757a199baa564ac19541d50206b1 Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Fix broken syntax-propertize. Fixes errors with fontification in in Emacs git-master. Addresses issues discussed in https://github.com/josteink/csharp-mode/issues/86 --- csharp-mode.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/csharp-mode.el b/csharp-mode.el index 14c99f8..1edc9c8 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -2989,8 +2989,13 @@ Key bindings: (set (make-local-variable 'comment-auto-fill-only-comments) t) (set (make-local-variable 'syntax-propertize-function) - 'csharp-mode-syntax-propertize-function)) + 'csharp-mode-syntax-propertize-function) + + ;; required since Emacs git master + ;; https://github.com/emacs-mirror/emacs/commit/edcdf64960a2ab4e8d9ce4419874e43b6d3ccee4 + (csharp-mode-syntax-propertize-function (point-min) (point-max))) (provide 'csharp-mode) ;;; csharp-mode.el ends here +