summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-vars.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-11-29 17:20:16 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-11-29 17:35:28 +0100
commitc43cdfd639518c5f2e7e7cbbaf1eca40ac957eb0 (patch)
tree3c7e26472425a1510e126c7f2afa92da898402fe /lisp/progmodes/cc-vars.el
parent13bb49bc0b829cfd2ec713a27a81b19b3f749cd5 (diff)
downloademacs-c43cdfd639518c5f2e7e7cbbaf1eca40ac957eb0.tar.gz
Allow csharp-mode in c-default-style
* lisp/progmodes/cc-vars.el (c-default-style): Add csharp-mode to the type. This fixes test-custom-opts.
Diffstat (limited to 'lisp/progmodes/cc-vars.el')
-rw-r--r--lisp/progmodes/cc-vars.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index e0f5a7ee021..60d568add56 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -1044,6 +1044,8 @@ can always override the use of `c-default-style' by making calls to
(cons :format "%v"
(const :format "AWK " awk-mode) (string :format "%v"))
(cons :format "%v"
+ (const :format "C# " csharp-mode) (string :format "%v"))
+ (cons :format "%v"
(const :format "Other " other) (string :format "%v"))))
:group 'c)