summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodor Thornhill <theo@thornhill.no>2023-01-22 10:46:08 +0100
committerTheodor Thornhill <theo@thornhill.no>2023-01-22 10:48:43 +0100
commit9296e0c64951ad6a329515aa3f31ad52aeaf8517 (patch)
treea8e7345a22e3f9d0f6bca406848e7bb046ee4ef9
parente74ba72a6a34221abf47145ecf0ec4fc8cda2555 (diff)
downloademacs-9296e0c64951ad6a329515aa3f31ad52aeaf8517.tar.gz
Fix typo after move to common lib (bug#61001)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Use correct preset.
-rw-r--r--lisp/progmodes/c-ts-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 03793d61ba3..5e5b0f87a32 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -167,7 +167,7 @@ MODE is either `c' or `cpp'."
((node-is "preproc_arg") no-indent)
;; `c-ts-common-looking-at-star' has to come before
;; `c-ts-common-comment-2nd-line-matcher'.
- ((and (parent-is "comment") c-ts-mode--looking-at-star)
+ ((and (parent-is "comment") c-ts-common--looking-at-star)
c-ts-common-comment-start-after-first-star -1)
(c-ts-common-comment-2nd-line-matcher
c-ts-common-comment-2nd-line-anchor