]> git.eshelyaron.com Git - emacs.git/commit
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)
committerEshel Yaron <me@eshelyaron.com>
Tue, 5 Nov 2024 11:13:10 +0000 (12:13 +0100)
commit345077a4667ae4c0e3df443b3dd0beb1eba73753
tree0016f6a93995e5241d6fb81054589938e2346190
parent7e41b29bdefa7edd9cf2707cee246617d5207e9c
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.

(cherry picked from commit e6a8492fabc1e7065983fbf6506a2790c137cd9f)
lisp/progmodes/c-ts-common.el