emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 724927142f 5/6: fix(compile): eval when com


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 724927142f 5/6: fix(compile): eval when compile syntax table function
Date: Fri, 19 Aug 2022 09:57:30 -0400 (EDT)

branch: externals/csharp-mode
commit 724927142fdddda5e33885ec7d440dc1d187d492
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]