From 2957dd68596945581b30a8136f6d219904024fca Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 10 Apr 2015 02:26:58 +0300 Subject: [PATCH] (log-edit-insert-changelog-entries): Don't add newline after the last entry * lisp/vc/log-edit.el (log-edit-insert-changelog-entries): Don't add newline after the last entry. --- lisp/vc/log-edit.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index ae8d275411b..e74ca7267c5 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el @@ -992,6 +992,9 @@ Rename relative filenames in the ChangeLog entry as FILES." (apply 'log-edit-changelog-insert-entries (append (car log-entry) (cdr log-entry))) (insert "\n")) + ;; No newline after the last entry. + (when log-entries + (delete-char -1)) log-edit-author)) (defun log-edit-toggle-header (header value) -- 2.39.2