From: Dan Nicolaescu Date: Sun, 10 Feb 2008 18:38:05 +0000 (+0000) Subject: (diff-add-change-log-entries-other-window): Use X-Git-Tag: emacs-pretest-23.0.90~8040 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=40c02e003539aa861292032a9705630442c97de2;p=emacs.git (diff-add-change-log-entries-other-window): Use add-change-log-entry. --- 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)))))