From: Dmitry Gutov Date: Thu, 9 Apr 2015 23:26:58 +0000 (+0300) Subject: (log-edit-insert-changelog-entries): Don't add newline after the last entry X-Git-Tag: emacs-25.0.90~2510 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2957dd68596945581b30a8136f6d219904024fca;p=emacs.git (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. --- 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)