branch: externals/csharp-mode
commit 724927142fdddda5e33885ec7d440dc1d187d492
Author: Jen-Chieh Shen <[email protected]>
Commit: Jen-Chieh Shen <[email protected]>
fix(compile): eval when compile syntax table function
---
csharp-mode.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 281a3cda1e..b6abe94669 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -66,15 +66,15 @@
declaration."))
(eval-and-compile
- (c-add-language 'csharp-mode 'java-mode))
-
-(defun csharp--make-mode-syntax-table ()
- (let ((table (make-syntax-table)))
- (c-populate-syntax-table table)
- (modify-syntax-entry ?@ "_" table)
- table))
-(defvar csharp--make-mode-syntax-table #'csharp--make-mode-syntax-table
- "Workaround for Emacs bug#57065.")
+ (c-add-language 'csharp-mode 'java-mode)
+
+ (defun csharp--make-mode-syntax-table ()
+ (let ((table (make-syntax-table)))
+ (c-populate-syntax-table table)
+ (modify-syntax-entry ?@ "_" table)
+ table))
+ (defvar csharp--make-mode-syntax-table #'csharp--make-mode-syntax-table
+ "Workaround for Emacs bug#57065."))
(c-lang-defconst c-make-mode-syntax-table
csharp #'csharp--make-mode-syntax-table)