]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in c-ts-mode (bug#60932)
authorTheodor Thornhill <theo@thornhill.no>
Fri, 20 Jan 2023 21:16:25 +0000 (22:16 +0100)
committerTheodor 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

index b13e2036f4f4203765dc84d8d5b1877eaf61aca9..8ddd622a05a9e29e409acd4981db5feb0d8ffc79 100644 (file)
@@ -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 _)