summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2015-04-10 02:26:58 +0300
committerDmitry Gutov <dgutov@yandex.ru>2015-04-10 02:26:58 +0300
commit2957dd68596945581b30a8136f6d219904024fca (patch)
treefcc504f6831ee063403904f674e622dc9eadda42 /lisp
parente597344849b465786fd65286a26a0f90429bbd96 (diff)
downloademacs-2957dd68596945581b30a8136f6d219904024fca.tar.gz
(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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc/log-edit.el3
1 files changed, 3 insertions, 0 deletions
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)