summaryrefslogtreecommitdiff
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-02-10 18:38:05 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-02-10 18:38:05 +0000
commit40c02e003539aa861292032a9705630442c97de2 (patch)
tree38cfc300a6fee46cf24d138f15f8ba981d40884e /lisp/diff-mode.el
parent13f6772b12f36c80de152b514c19764c1e4ec16b (diff)
downloademacs-40c02e003539aa861292032a9705630442c97de2.tar.gz
(diff-add-change-log-entries-other-window): Use
add-change-log-entry.
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)))))