[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 9c42dac 193/459: Move all defcustoms to the
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 9c42dac 193/459: Move all defcustoms to the top. |
Date: |
Sun, 22 Aug 2021 13:59:25 -0400 (EDT) |
branch: externals/csharp-mode
commit 9c42dac225f138078d96896a11fd616dab5ebf3a
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Move all defcustoms to the top.
Removes compiler warning about undefined variables.
Addresses https://github.com/josteink/csharp-mode/issues/79
---
csharp-mode.el | 54 +++++++++++++++++++++++++++++-------------------------
1 file changed, 29 insertions(+), 25 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 617ec12..4ad7a82 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -354,6 +354,35 @@
+;; Custom variables
+;; ensure all are defined before using ...;
+
+(defcustom csharp-mode-hook nil
+ "*Hook called by `csharp-mode'."
+ :type 'hook
+ :group 'csharp)
+
+;; The following fn allows this:
+;; (csharp-log 3 "scan result...'%s'" state)
+
+(defcustom csharp-log-level 0
+ "The current log level for CSharp-mode-specific operations.
+This is used in particular by the verbatim-literal
+string scanning.
+
+Most other csharp functions are not instrumented.
+0 = NONE, 1 = Info, 2 = VERBOSE, 3 = DEBUG, 4 = SHUTUP ALREADY. "
+ :type 'integer
+ :group 'csharp)
+
+
+(defcustom csharp-want-imenu t
+ "*Whether to generate a buffer index via imenu for C# buffers."
+ :type 'boolean :group 'csharp)
+
+
+
+
;; These are only required at compile time to get the sources for the
;; language constants. (The load of cc-fonts and the font-lock
@@ -1376,31 +1405,6 @@ This regexp is assumed to not match any non-operator
identifier."
-;; Custom variables
-(defcustom csharp-mode-hook nil
- "*Hook called by `csharp-mode'."
- :type 'hook
- :group 'csharp)
-
-;; The following fn allows this:
-;; (csharp-log 3 "scan result...'%s'" state)
-
-(defcustom csharp-log-level 0
- "The current log level for CSharp-mode-specific operations.
-This is used in particular by the verbatim-literal
-string scanning.
-
-Most other csharp functions are not instrumented.
-0 = NONE, 1 = Info, 2 = VERBOSE, 3 = DEBUG, 4 = SHUTUP ALREADY. "
- :type 'integer
- :group 'csharp)
-
-
-(defcustom csharp-want-imenu t
- "*Whether to generate a buffer index via imenu for C# buffers."
- :type 'boolean :group 'csharp)
-
-
(defconst csharp-font-lock-keywords-1 (c-lang-const c-matchers-1 csharp)
"Minimal highlighting for C# mode.")
- [elpa] externals/csharp-mode 15d2214 174/459: Clean up loading of dev-packages., (continued)
- [elpa] externals/csharp-mode 15d2214 174/459: Clean up loading of dev-packages., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode adb7928 175/459: New test-macros for assess., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e2c9f85 181/459: New imenu-implementation for csharp-mode., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7943738 182/459: Add volatile keyword, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b4b9d61 183/459: Add volatile to imenu, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9a1ddba 185/459: Merge branch 'jtbm37/master', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a8def67 186/459: Add missing test-file. Fix build., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b609f42 187/459: New imenu test-file for method-indexing., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b448614 190/459: Fix fontification of methods found in test-file., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4a396e3 189/459: Add tests for imenu method-indexing., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9c42dac 193/459: Move all defcustoms to the top.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 717bf76 194/459: Fix compilation errors and warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7baacd5 196/459: Make imenu-tests less verbose., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9616fd0 192/459: Fix method-name fontification tests., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 04958ec 198/459: Fix byte-compilation warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 49a957b 199/459: Super-ugly hacks to fix build., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode aa4e5db 201/459: Escape both quoting and quoted double quote, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 48dd7ee 202/459: Remove empty line at file start, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 803a362 203/459: Move log functions back down where they were., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8a9ab5a 204/459: imenu: Add test-cases for generic methods., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b56c250 205/459: Add fontification tests for generic methods., ELPA Syncer, 2021/08/22