]> git.eshelyaron.com Git - emacs.git/commitdiff
(diff-add-change-log-entries-other-window): Use
authorDan Nicolaescu <dann@ics.uci.edu>
Sun, 10 Feb 2008 18:38:05 +0000 (18:38 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sun, 10 Feb 2008 18:38:05 +0000 (18:38 +0000)
add-change-log-entry.

lisp/ChangeLog
lisp/diff-mode.el

index 080ca207f3c107cc9e36e4bd3983fd7921ec5e91..f31b26834e3b20d4c28f42333ca386870b06dcfd 100644 (file)
@@ -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):
index 6e82b63581a2096f4a15c67a283a2e4c5e6a32ef..57cfc56e47213e458a7c0a316d9ed5857b0f4fc0 100644 (file)
@@ -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)))))