From 40c02e003539aa861292032a9705630442c97de2 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sun, 10 Feb 2008 18:38:05 +0000 Subject: [PATCH] (diff-add-change-log-entries-other-window): Use add-change-log-entry. --- lisp/ChangeLog | 5 +++++ lisp/diff-mode.el | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 080ca207f3c..f31b26834e3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-02-10 Dan Nicolaescu + + * diff-mode.el (diff-add-change-log-entries-other-window): Use + add-change-log-entry. + 2008-02-09 Jason Rumney * button.el (button-map): 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))))) -- 2.39.2