summaryrefslogtreecommitdiff
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r--lisp/diff-mode.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index 6e82b63581a..57cfc56e472 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -1759,10 +1759,7 @@ I.e. like `add-change-log-entry-other-window' but applied to all hunks."
"\\( .*\n\\)*[+]\\)?")
nil t))
(save-excursion
- (add-change-log-entry-other-window)
- ;; Insert a "." so that the entries created don't get
- ;; merged.
- (insert ".")))
+ (add-change-log-entry nil nil t t)))
;; When there's no more hunks, diff-hunk-next signals an error.
(error nil)))))