aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2011-04-20 14:39:39 -0300
committerStefan Monnier2011-04-20 14:39:39 -0300
commit024ff1707e4a301b21b9de14ab64a406b92dd19f (patch)
treee30153c180570c2ac7b6b7e3e7411dfc4dfb0f6c
parent1c6c854ec7faf9184115245c7e300df89f1795bc (diff)
downloademacs-024ff1707e4a301b21b9de14ab64a406b92dd19f.tar.gz
emacs-024ff1707e4a301b21b9de14ab64a406b92dd19f.zip
* lisp/vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
we're in VC after all.
-rw-r--r--doc/emacs/ChangeLog3
-rw-r--r--doc/emacs/maintaining.texi8
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/vc/vc.el6
4 files changed, 13 insertions, 11 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index d20c529f043..c6405019ddb 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,7 +1,6 @@
12011-04-20 Christoph Scholtes <cschol2112@googlemail.com> 12011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2 2
3 * maintaining.texi (Old Revisions): Add paragraph on new function 3 * maintaining.texi (Old Revisions): Mention new function vc-ediff.
4 vc-ediff.
5 4
62011-03-26 Chong Yidong <cyd@stupidchicken.com> 52011-03-26 Chong Yidong <cyd@stupidchicken.com>
7 6
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index bc7484b0557..8f395ba9563 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -746,10 +746,10 @@ current directory and its subdirectories.
746 746
747@findex vc-ediff 747@findex vc-ediff
748The function @code{vc-ediff} works like @code{vc-diff} and provides a way to 748The function @code{vc-ediff} works like @code{vc-diff} and provides a way to
749visually compare two revisions of a file an Ediff session, @pxref{Top, Ediff, 749visually compare two revisions of a file in an Ediff session, @pxref{Top,
750ediff, The Ediff Manual}. It compares the file associated with the current 750Ediff, ediff, The Ediff Manual}. It compares the file associated with the
751buffer with the last repository revision. To compare two arbitrary revisions 751current buffer with the last repository revision. To compare two arbitrary
752of the current file, call @code{vc-ediff} with a prefix argument. 752revisions of the current file, call @code{vc-ediff} with a prefix argument.
753 753
754@vindex vc-diff-switches 754@vindex vc-diff-switches
755@vindex vc-rcs-diff-switches 755@vindex vc-rcs-diff-switches
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0f6608d2fc1..6e98a03dd24 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,12 @@
12011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4 we're in VC after all.
5
12011-04-20 Christoph Scholtes <cschol2112@googlemail.com> 62011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2 7
3 * vc/vc.el (vc-diff-build-argument-list-internal) 8 * vc/vc.el (vc-diff-build-argument-list-internal)
4 (vc-version-ediff, vc-ediff): New functions. 9 (vc-version-ediff, vc-ediff): New commands.
5 (vc-version-diff): Use vc-diff-build-argument-list-internal. 10 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6 11
72011-04-20 Stefan Monnier <monnier@iro.umontreal.ca> 122011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 06abde21d4f..1639cd7b1b1 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -1704,10 +1704,8 @@ repository history using ediff."
1704 ;; We could spin off an ediff session per file in the file set. 1704 ;; We could spin off an ediff session per file in the file set.
1705 ((= (length files) 1) 1705 ((= (length files) 1)
1706 (ediff-load-version-control) 1706 (ediff-load-version-control)
1707 (find-file (car files)) 1707 (find-file (car files)) ;FIXME: find-file from Elisp is bad.
1708 (funcall 1708 (ediff-vc-internal rev1 rev2 nil))
1709 (intern (format "ediff-%S-internal" ediff-version-control-package))
1710 rev1 rev2 nil))
1711 (t 1709 (t
1712 (error "More than one file is not supported")))) 1710 (error "More than one file is not supported"))))
1713 1711