emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103958: * lisp/vc/vc.el (vc-version-


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103958: * lisp/vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
Date: Wed, 20 Apr 2011 14:39:39 -0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 103958
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2011-04-20 14:39:39 -0300
message:
  * lisp/vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
  we're in VC after all.
modified:
  doc/emacs/ChangeLog
  doc/emacs/maintaining.texi
  lisp/ChangeLog
  lisp/vc/vc.el
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog       2011-04-20 17:33:09 +0000
+++ b/doc/emacs/ChangeLog       2011-04-20 17:39:39 +0000
@@ -1,7 +1,6 @@
 2011-04-20  Christoph Scholtes  <address@hidden>
 
-       * 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  <address@hidden>
 

=== modified file 'doc/emacs/maintaining.texi'
--- a/doc/emacs/maintaining.texi        2011-04-20 17:33:09 +0000
+++ b/doc/emacs/maintaining.texi        2011-04-20 17:39:39 +0000
@@ -746,10 +746,10 @@
 
 @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

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-04-20 17:33:09 +0000
+++ b/lisp/ChangeLog    2011-04-20 17:39:39 +0000
@@ -1,7 +1,12 @@
+2011-04-20  Stefan Monnier  <address@hidden>
+
+       * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
+       we're in VC after all.
+
 2011-04-20  Christoph Scholtes  <address@hidden>
 
        * 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  <address@hidden>

=== modified file 'lisp/vc/vc.el'
--- a/lisp/vc/vc.el     2011-04-20 17:33:09 +0000
+++ b/lisp/vc/vc.el     2011-04-20 17:39:39 +0000
@@ -1704,10 +1704,8 @@
    ;; 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"))))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]