]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-common filling
authorYuan Fu <casouri@gmail.com>
Mon, 5 Aug 2024 03:46:45 +0000 (20:46 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 6 Aug 2024 09:55:18 +0000 (11:55 +0200)
commit69858ae4eabbd56fe9840cd149ba006dea509660
treeebfa67ccae30ff00114b7c94face4c04fd551a0b
parent3f6b33b089bd93ca577a3843c3b4dca723bbe94a
Fix c-ts-common filling

* lisp/progmodes/c-ts-common.el:
(c-ts-common--fill-block-comment): Exclude the last line from filling if
it only has non-word characters like *=-.
* test/lisp/progmodes/c-ts-mode-resources/filling.erts: Fir the
multi-line test and add a single line test.

(cherry picked from commit 5ecd35555e9e20de9717f0184f58a15d8a2e68a3)
lisp/progmodes/c-ts-common.el
test/lisp/progmodes/c-ts-mode-resources/filling.erts