From 7fe90ca77d0c21165cb9d98d5c42d6b6c6275ef3 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 26 Feb 2025 03:13:38 +0100 Subject: [PATCH] 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. --- lisp/vc/add-log.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index 2208f50812e..a5131ee3a33 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el @@ -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."