Correctly fill generated ChangeLog entries

This fixes both 'C-c C-v' in VC and 'magit-generate-changelog'.

* lisp/vc/add-log.el (change-log-insert-entries): Correctly fill
generated ChangeLog entries.
This commit is contained in:
Stefan Kangas 2025-02-26 03:13:38 +01:00
parent dfcfb9792c
commit 7fe90ca77d

View file

@ -324,7 +324,9 @@ CHANGELOGS is a list in the form returned by
(insert ":\n")
(insert " ")
(cl-loop for def in defuns
do (insert "(" def "):\n")))))
do (progn
(insert "(" def "):\n")
(log-edit-fill-entry))))))
(defun change-log-find-file ()
"Visit the file for the change under point."