projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e74ba72
)
Fix typo after move to common lib (bug#61001)
author
Theodor Thornhill
<theo@thornhill.no>
Sun, 22 Jan 2023 09:46:08 +0000
(10:46 +0100)
committer
Theodor 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 03793d61ba3e7b026a6d7e88f603700c5d7b071d..5e5b0f87a32b1bf3fd94860c07a20bef977df444 100644
(file)
--- 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