summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodor Thornhill <theo@thornhill.no>2023-01-20 22:16:25 +0100
committerTheodor Thornhill <theo@thornhill.no>2023-01-21 08:43:40 +0100
commit0400de6a7de2d27b1141cc9f63ac899e72782b7d (patch)
treecc76597ff62632ed369a90dc0d71308657de61aa
parentb3de81a6ee3b379fc1dfb9a071e469365081f438 (diff)
downloademacs-0400de6a7de2d27b1141cc9f63ac899e72782b7d.tar.gz
Fix typo in c-ts-mode (bug#60932)
* lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-block-type-regexp): enumerator, not enumeratior.
-rw-r--r--lisp/progmodes/c-ts-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index b13e2036f4f..8ddd622a05a 100644
--- 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"
- "enumeratior_list"))
+ "enumerator_list"))
"Regexp matching types of block nodes (i.e., {} blocks).")
(defun c-ts-mode--statement-offset (node parent &rest _)