diff options
| author | Dan Nicolaescu | 2008-02-10 18:38:05 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-02-10 18:38:05 +0000 |
| commit | 40c02e003539aa861292032a9705630442c97de2 (patch) | |
| tree | 38cfc300a6fee46cf24d138f15f8ba981d40884e /lisp | |
| parent | 13f6772b12f36c80de152b514c19764c1e4ec16b (diff) | |
| download | emacs-40c02e003539aa861292032a9705630442c97de2.tar.gz emacs-40c02e003539aa861292032a9705630442c97de2.zip | |
(diff-add-change-log-entries-other-window): Use
add-change-log-entry.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * diff-mode.el (diff-add-change-log-entries-other-window): Use | ||
| 4 | add-change-log-entry. | ||
| 5 | |||
| 1 | 2008-02-09 Jason Rumney <jasonr@gnu.org> | 6 | 2008-02-09 Jason Rumney <jasonr@gnu.org> |
| 2 | 7 | ||
| 3 | * button.el (button-map): | 8 | * 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." | |||
| 1759 | "\\( .*\n\\)*[+]\\)?") | 1759 | "\\( .*\n\\)*[+]\\)?") |
| 1760 | nil t)) | 1760 | nil t)) |
| 1761 | (save-excursion | 1761 | (save-excursion |
| 1762 | (add-change-log-entry-other-window) | 1762 | (add-change-log-entry nil nil t t))) |
| 1763 | ;; Insert a "." so that the entries created don't get | ||
| 1764 | ;; merged. | ||
| 1765 | (insert "."))) | ||
| 1766 | ;; When there's no more hunks, diff-hunk-next signals an error. | 1763 | ;; When there's no more hunks, diff-hunk-next signals an error. |
| 1767 | (error nil))))) | 1764 | (error nil))))) |
| 1768 | 1765 | ||