aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorArsen Arsenović2026-02-16 16:11:42 +0100
committerYuan Fu2026-02-25 20:59:56 -0800
commit0a80c05df09d3ac971e25ddf21a9c7dd236d1023 (patch)
tree791e6f0c1913f01c729ba864a1b811988822b364 /java/debug.sh
parent47735e0243ba15a485e1a6f25be53f6e42dafa24 (diff)
downloademacs-0a80c05df09d3ac971e25ddf21a9c7dd236d1023.tar.gz
emacs-0a80c05df09d3ac971e25ddf21a9c7dd236d1023.zip
c-ts-mode: Don't assume comment-start-skip is set
This patch makes it easier to use the existing C and C++ language support in other languages. Without this patch, if the outer mode sets some specific and more accurate comment-start-skip value, or perhaps leaves it unset, indentation will break. * lisp/progmodes/c-ts-common.el (c-ts-common--comment-start-skip): Declare to the value c-ts-common-comment-setup used to set as comment-start-skip. (c-ts-common-comment-setup): Use it, rather than hardcoding. (c-ts-common-comment-2nd-line-anchor): Use it, rather than comment-start-skip. This makes it easier to reuse C/++ indentation rules in other TS modes for embedding C/++ segments in other languages. Copyright-paperwork-exempt: yes
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions