diff options
| author | Michael Albinus | 2009-08-25 08:55:37 +0000 |
|---|---|---|
| committer | Michael Albinus | 2009-08-25 08:55:37 +0000 |
| commit | 4968879cda343b714a85eb606b3e67264203e933 (patch) | |
| tree | ef603012715c207f79368fe65fce6869902475c8 | |
| parent | 66f3089ca8b0d869cb8f1710e0099b8b2f62358c (diff) | |
| download | emacs-4968879cda343b714a85eb606b3e67264203e933.tar.gz emacs-4968879cda343b714a85eb606b3e67264203e933.zip | |
* vc.el (vc-diff-internal): Let-bind `process-file-side-effects' with nil.
| -rw-r--r-- | lisp/vc.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index 1f3ea9ddcaf..5bc8e2fd1ec 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -1481,7 +1481,8 @@ returns t if the buffer had changes, nil otherwise." | |||
| 1481 | ;; I made it conditional on vc-diff-added-files but it should probably | 1481 | ;; I made it conditional on vc-diff-added-files but it should probably |
| 1482 | ;; just be removed (or copied/moved to specific backends). --Stef. | 1482 | ;; just be removed (or copied/moved to specific backends). --Stef. |
| 1483 | (when vc-diff-added-files | 1483 | (when vc-diff-added-files |
| 1484 | (let ((filtered '())) | 1484 | (let ((filtered '()) |
| 1485 | process-file-side-effects) | ||
| 1485 | (dolist (file files) | 1486 | (dolist (file files) |
| 1486 | (if (or (file-directory-p file) | 1487 | (if (or (file-directory-p file) |
| 1487 | (not (string= (vc-working-revision file) "0"))) | 1488 | (not (string= (vc-working-revision file) "0"))) |
| @@ -1828,7 +1829,7 @@ allowed and simply skipped)." | |||
| 1828 | (vc-call-backend ',backend 'log-view-mode) | 1829 | (vc-call-backend ',backend 'log-view-mode) |
| 1829 | (set (make-local-variable 'log-view-vc-backend) ',backend) | 1830 | (set (make-local-variable 'log-view-vc-backend) ',backend) |
| 1830 | (set (make-local-variable 'log-view-vc-fileset) ',files) | 1831 | (set (make-local-variable 'log-view-vc-fileset) ',files) |
| 1831 | 1832 | ||
| 1832 | ;; FIXME: this seems to apply only to RCS/CVS, it doesn't quite | 1833 | ;; FIXME: this seems to apply only to RCS/CVS, it doesn't quite |
| 1833 | ;; belong here in the generic code. | 1834 | ;; belong here in the generic code. |
| 1834 | (goto-char (point-max)) | 1835 | (goto-char (point-max)) |