diff options
| author | Dan Nicolaescu | 2007-12-03 09:29:00 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-12-03 09:29:00 +0000 |
| commit | e392d1cc57e6130a0b468ac4236d66fd671e1424 (patch) | |
| tree | a24ea4ed7c023fa9548b399ca383dcb345d23a08 | |
| parent | 1682490ce8a8e0f61f4e2ae5ca5f13a771437216 (diff) | |
| download | emacs-e392d1cc57e6130a0b468ac4236d66fd671e1424.tar.gz emacs-e392d1cc57e6130a0b468ac4236d66fd671e1424.zip | |
* ediff-util.el (ediff-setup):
* ediff-diff.el (ediff-prepare-error-list): Disable undo for
ediff-error-buffer.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/ediff-diff.el | 1 | ||||
| -rw-r--r-- | lisp/ediff-util.el | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c381247b9b6..aeec1d29cb1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-12-03 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * ediff-util.el (ediff-setup): | ||
| 4 | * ediff-diff.el (ediff-prepare-error-list): Disable undo for | ||
| 5 | ediff-error-buffer. | ||
| 6 | |||
| 1 | 2007-12-03 Tassilo Horn <tassilo@member.fsf.org> | 7 | 2007-12-03 Tassilo Horn <tassilo@member.fsf.org> |
| 2 | 8 | ||
| 3 | * doc-view.el (doc-view-initiate-display): Use `doc-view-mode-p'. | 9 | * doc-view.el (doc-view-initiate-display): Use `doc-view-mode-p'. |
diff --git a/lisp/ediff-diff.el b/lisp/ediff-diff.el index a835fb8e750..1b51b440f05 100644 --- a/lisp/ediff-diff.el +++ b/lisp/ediff-diff.el | |||
| @@ -343,6 +343,7 @@ one optional arguments, diff-number to refine.") | |||
| 343 | (get-buffer-create (ediff-unique-buffer-name | 343 | (get-buffer-create (ediff-unique-buffer-name |
| 344 | "*ediff-errors" "*")))) | 344 | "*ediff-errors" "*")))) |
| 345 | (ediff-with-current-buffer ediff-error-buffer | 345 | (ediff-with-current-buffer ediff-error-buffer |
| 346 | (setq buffer-undo-list t) | ||
| 346 | (erase-buffer) | 347 | (erase-buffer) |
| 347 | (insert (ediff-with-current-buffer diff-buff (buffer-string))) | 348 | (insert (ediff-with-current-buffer diff-buff (buffer-string))) |
| 348 | (goto-char (point-min)) | 349 | (goto-char (point-min)) |
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index 2c8d2468419..f3e5a250f9e 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el | |||
| @@ -396,6 +396,9 @@ to invocation.") | |||
| 396 | (setq ediff-error-buffer | 396 | (setq ediff-error-buffer |
| 397 | (get-buffer-create (ediff-unique-buffer-name "*ediff-errors" "*"))) | 397 | (get-buffer-create (ediff-unique-buffer-name "*ediff-errors" "*"))) |
| 398 | 398 | ||
| 399 | (with-current-buffer ediff-error-buffer | ||
| 400 | (setq buffer-undo-list t)) | ||
| 401 | |||
| 399 | (ediff-with-current-buffer buffer-A (ediff-strip-mode-line-format)) | 402 | (ediff-with-current-buffer buffer-A (ediff-strip-mode-line-format)) |
| 400 | (ediff-with-current-buffer buffer-B (ediff-strip-mode-line-format)) | 403 | (ediff-with-current-buffer buffer-B (ediff-strip-mode-line-format)) |
| 401 | (if ediff-3way-job | 404 | (if ediff-3way-job |