]> 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>
Fri, 20 Jan 2023 21:23:35 +0000 (22:23 +0100)
* lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-block-type-regexp):
enumerator, not enumeratior.

lisp/progmodes/c-ts-mode.el

index b3d162cd3abdcda56ee7a8c3c80c608f434d78ee..348d027af1935b9ab65e7bd8b32847bb7aee4358 100644 (file)
@@ -228,7 +228,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 _)