Fix c-ts-common-comment-indent-new-line (bug#73900)
authorYuan Fu <casouri@gmail.com>
Tue, 29 Oct 2024 07:27:34 +0000 (00:27 -0700)
committerYuan Fu <casouri@gmail.com>
Thu, 31 Oct 2024 01:18:06 +0000 (18:18 -0700)
commite6a8492fabc1e7065983fbf6506a2790c137cd9f
treee8bd3ed2d782dbddea67eb271e8524d67ca6089e
parentdf5ac0daf0fde7766ce607bd4c52a16650f3ac0f
Fix c-ts-common-comment-indent-new-line (bug#73900)

* lisp/progmodes/c-ts-common.el:
(c-ts-common-comment-indent-new-line): Delete trailing
whitespace before inserting newline.  The insert-line-break
function is the same as in c-indent-new-comment-line.
lisp/progmodes/c-ts-common.el