]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo after move to common lib (bug#61001)
authorTheodor Thornhill <theo@thornhill.no>
Sun, 22 Jan 2023 09:46:08 +0000 (10:46 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sun, 22 Jan 2023 09:48:43 +0000 (10:48 +0100)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Use correct
preset.

lisp/progmodes/c-ts-mode.el

index 03793d61ba3e7b026a6d7e88f603700c5d7b071d..5e5b0f87a32b1bf3fd94860c07a20bef977df444 100644 (file)
@@ -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