]> 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, 29 Oct 2024 10:00:55 +0000 (11:00 +0100)
commitca86144d114495e29c4264b321b0bdaf987a09d3
tree88c54fb8e48adb1d1579864f64af23913f5c3e89
parentc1fe13e44f661529d7fbdccbbca47a0929c5b15e
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 9aa186592634212fcdb2dbafdfd0c52a2475ba96)
lisp/progmodes/c-ts-common.el