projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3de81a
)
Fix typo in c-ts-mode (bug#60932)
author
Theodor Thornhill
<theo@thornhill.no>
Fri, 20 Jan 2023 21:16:25 +0000
(22:16 +0100)
committer
Theodor Thornhill
<theo@thornhill.no>
Sat, 21 Jan 2023 07:43:40 +0000
(08:43 +0100)
* lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-block-type-regexp):
enumerator, not enumeratior.
lisp/progmodes/c-ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index b13e2036f4f4203765dc84d8d5b1877eaf61aca9..8ddd622a05a9e29e409acd4981db5feb0d8ffc79 100644
(file)
--- a/
lisp/progmodes/c-ts-mode.el
+++ b/
lisp/progmodes/c-ts-mode.el
@@
-280,7
+280,7
@@
NODE should be a labeled_statement."
(defvar c-ts-mode-indent-block-type-regexp
(rx (or "compound_statement"
"field_declaration_list"
- "enumerat
i
or_list"))
+ "enumerator_list"))
"Regexp matching types of block nodes (i.e., {} blocks).")
(defun c-ts-mode--statement-offset (node parent &rest _)