diff options
author | Yuan Fu <casouri@gmail.com> | 2023-01-14 20:53:10 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-01-15 01:11:37 -0800 |
commit | d13a329acff37b37091e137e3b04669ab7aab9ae (patch) | |
tree | 959d89f23dada6dd01a30c07a09e67c341735649 /lisp | |
parent | d428d5106642ad0a76d4abfb39d59c5bd80edddb (diff) | |
download | emacs-d13a329acff37b37091e137e3b04669ab7aab9ae.tar.gz emacs-d13a329acff37b37091e137e3b04669ab7aab9ae.tar.bz2 emacs-d13a329acff37b37091e137e3b04669ab7aab9ae.zip |
; Minor change in c-ts-mode--indent-styles
; * lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): Move top-level label rule to GNU style.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/c-ts-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 5f8d7426cce..2e2bd6beeb6 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -130,7 +130,6 @@ MODE is either `c' or `cpp'." c-ts-mode--comment-2nd-line-anchor 1) ((parent-is "comment") prev-adaptive-prefix 0) - (c-ts-mode--top-level-label-matcher point-min 1) ((node-is "labeled_statement") parent-bol 0) ((parent-is "labeled_statement") parent-bol c-ts-mode-indent-offset) ((match "preproc_ifdef" "compound_statement") point-min 0) @@ -174,6 +173,7 @@ MODE is either `c' or `cpp'." `((gnu ;; Prepend rules to set highest priority ((match "while" "do_statement") parent 0) + (c-ts-mode--top-level-label-matcher point-min 1) ,@common) (k&r ,@common) (linux |