changeset 91724:4302897b076a

(diff-add-change-log-entries-other-window): Use add-change-log-entry.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 10 Feb 2008 18:38:05 +0000
parents bb158f0053d9
children 9dee041c9720
files lisp/ChangeLog lisp/diff-mode.el
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Feb 10 17:01:47 2008 +0000
+++ b/lisp/ChangeLog	Sun Feb 10 18:38:05 2008 +0000
@@ -1,3 +1,8 @@
+2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* diff-mode.el (diff-add-change-log-entries-other-window): Use
+	add-change-log-entry.
+
 2008-02-09  Jason Rumney  <jasonr@gnu.org>
 
 	* button.el (button-map):
--- a/lisp/diff-mode.el	Sun Feb 10 17:01:47 2008 +0000
+++ b/lisp/diff-mode.el	Sun Feb 10 18:38:05 2008 +0000
@@ -1759,10 +1759,7 @@
                             "\\( .*\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)))))