]> git.eshelyaron.com Git - emacs.git/commit
Prevent filling from mangling ChangeLog defun lists
authorPo Lu <luangruo@yahoo.com>
Mon, 29 Jan 2024 02:54:49 +0000 (10:54 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:15:33 +0000 (21:15 +0100)
commit52987e10e2015e131d23b4271545602a9403b03d
tree4368ee7d527f51c53926036e378b5b9dd8c98a68
parentadebeaa9055eb85cdf7ae3cb7b84f3c2758ed3ce
Prevent filling from mangling ChangeLog defun lists

* lisp/vc/log-edit.el (log-edit-fill-entry): Replace space
characters within defun lists with NBSPs for the duration of
`fill-region''s execution, so that they are never considered
break points.

* test/lisp/vc/log-edit-tests.el
(log-edit-fill-entry-space-substitution): New test.

(cherry picked from commit e9cf215d7067d5375425e605461b155216ed23b5)
lisp/vc/log-edit.el
test/lisp/vc/log-edit-tests.el