emacs-diffs
[Top][All Lists]
Advanced

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

master affdf790119: Fix typo in c-ts-mode (bug#60932)


From: Theodor Thornhill
Subject: master affdf790119: Fix typo in c-ts-mode (bug#60932)
Date: Fri, 20 Jan 2023 16:24:29 -0500 (EST)

branch: master
commit affdf7901190789616eb40d4c2857974d5394491
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 b3d162cd3ab..348d027af19 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -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 _)



reply via email to

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