emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 0400de6a7de: Fix typo in c-ts-mode (bug#60932)


From: Theodor Thornhill
Subject: emacs-29 0400de6a7de: Fix typo in c-ts-mode (bug#60932)
Date: Sat, 21 Jan 2023 02:46:47 -0500 (EST)

branch: emacs-29
commit 0400de6a7de2d27b1141cc9f63ac899e72782b7d
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>

    Fix typo in c-ts-mode (bug#60932)
    
    * lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-block-type-regexp):
    enumerator, not enumeratior.
---
 lisp/progmodes/c-ts-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 _)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]