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

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

[elpa] externals/csharp-mode 43e5919 438/459: Prevent c-default-style er


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 43e5919 438/459: Prevent c-default-style error when set to string (#202)
Date: Sun, 22 Aug 2021 14:00:17 -0400 (EDT)

branch: externals/csharp-mode
commit 43e591987f620479413defa3d0bc5b3cd7887159
Author: SpenSer Bray <spenser.m.bray@gmail.com>
Commit: GitHub <noreply@github.com>

    Prevent c-default-style error when set to string (#202)
---
 csharp-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 6d6beb4..59a4df6 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -250,7 +250,8 @@
                                    (substatement-open     . 0)))))
 
 (eval-and-compile
-  (unless (assoc 'csharp-mode c-default-style)
+  (unless (or (stringp c-default-style)
+              (assoc 'csharp-mode c-default-style))
     (setq c-default-style
           (cons '(csharp-mode . "csharp")
                 c-default-style))))



reply via email to

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