]> code.delx.au - gnu-emacs/commitdiff
* lisp/vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Apr 2011 17:39:39 +0000 (14:39 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Apr 2011 17:39:39 +0000 (14:39 -0300)
we're in VC after all.

doc/emacs/ChangeLog
doc/emacs/maintaining.texi
lisp/ChangeLog
lisp/vc/vc.el

index d20c529f043297e39ebf3738874a982f325d9185..c6405019ddba6efee143858c60e35fef5b582d2b 100644 (file)
@@ -1,7 +1,6 @@
 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
 
-       * maintaining.texi (Old Revisions): Add paragraph on new function
-       vc-ediff.
+       * maintaining.texi (Old Revisions): Mention new function vc-ediff.
 
 2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
 
index bc7484b055798fc68ae9aa9668285a7a0193e062..8f395ba9563b65b695340ef7fef8974ec7a80cdc 100644 (file)
@@ -746,10 +746,10 @@ current directory and its subdirectories.
 
 @findex vc-ediff
 The function @code{vc-ediff} works like @code{vc-diff} and provides a way to
-visually compare two revisions of a file an Ediff session, @pxref{Top, Ediff,
-ediff, The Ediff Manual}.  It compares the file associated with the current
-buffer with the last repository revision.  To compare two arbitrary revisions
-of the current file, call @code{vc-ediff} with a prefix argument.
+visually compare two revisions of a file in an Ediff session, @pxref{Top,
+Ediff, ediff, The Ediff Manual}.  It compares the file associated with the
+current buffer with the last repository revision.  To compare two arbitrary
+revisions of the current file, call @code{vc-ediff} with a prefix argument.
 
 @vindex vc-diff-switches
 @vindex vc-rcs-diff-switches
index 0f6608d2fc1fe09ec3e0c7e7fe3bafec0a19a2b4..6e98a03dd24263d4bb918f2dc49ef3bd990b2d71 100644 (file)
@@ -1,7 +1,12 @@
+2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
+       we're in VC after all.
+
 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
 
        * vc/vc.el (vc-diff-build-argument-list-internal)
-       (vc-version-ediff, vc-ediff): New functions.
+       (vc-version-ediff, vc-ediff): New commands.
        (vc-version-diff): Use vc-diff-build-argument-list-internal.
 
 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
index 06abde21d4ff2678bad06d94172f527e9d8b82a4..1639cd7b1b138955ba05adda9547a6dec240a229 100644 (file)
@@ -1704,10 +1704,8 @@ repository history using ediff."
    ;; We could spin off an ediff session per file in the file set.
    ((= (length files) 1)
     (ediff-load-version-control)
-    (find-file (car files))
-    (funcall
-     (intern (format "ediff-%S-internal" ediff-version-control-package))
-     rev1 rev2 nil))
+    (find-file (car files))             ;FIXME: find-file from Elisp is bad.
+    (ediff-vc-internal rev1 rev2 nil))
    (t
     (error "More than one file is not supported"))))