From: Michael Kleehammer<michael@kleehammer.com>
Date: Sat, 19 Oct 2024 22:46:55 -0500
In Emacs 30, js-ts-mode auto-fill chooses an incorrect prefix when
wrapping comments.
1) emacs -Q
2) In the scratch buffer:
a) M-x js-ts-mode
b) M-x auto-fill-mode
c) M-x erase-buffer
3) Paste in a long JS comment:
// This buffer is for text that is not saved, and for Lisp evaluation. To
create a file, visit it
4) At end of line, press <Space>.
The text wraps like so:
// This buffer is for text that is not saved, and for Lisp evaluation.
// To create a file, visit it
In previous versions, it would wrap like so:
// This buffer is for text that is not saved, and for Lisp evaluation.
// To create a file, visit it