Function: vc-ediff
vc-ediff is an autoloaded, interactive and byte-compiled function
defined in vc.el.gz.
Signature
(vc-ediff HISTORIC &optional NOT-ESSENTIAL)
Documentation
Display diffs between file revisions using ediff.
Normally this compares the currently selected fileset with their working revisions. With a prefix argument HISTORIC, it reads two revision designators specifying which revisions to compare.
Optional argument NOT-ESSENTIAL non-nil means it is okay to say no to saving the buffer.
Probably introduced at or before Emacs version 19.29.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
;;;###autoload
(defun vc-ediff (historic &optional not-essential)
"Display diffs between file revisions using ediff.
Normally this compares the currently selected fileset with their
working revisions. With a prefix argument HISTORIC, it reads two revision
designators specifying which revisions to compare.
Optional argument NOT-ESSENTIAL non-nil means it is okay to say no to
saving the buffer."
(interactive (list current-prefix-arg t))
(if historic
(call-interactively 'vc-version-ediff)
(let ((fileset (vc-deduce-fileset)))
(vc-buffer-sync-fileset fileset not-essential)
(vc-version-ediff (cadr fileset) nil nil))))