Function: ediff-restore-diff
ediff-restore-diff is an interactive and byte-compiled function
defined in ediff-util.el.gz.
Signature
(ediff-restore-diff ARG &optional KEY)
Documentation
Restore ARGth diff from ediff-killed-diffs-alist.
ARG is a prefix argument. If ARG is nil, restore the current-difference.
If the second optional argument KEY, a character, is given, use
it to determine the target buffer instead of
ediff-last-command-char.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/ediff-util.el.gz
(defun ediff-restore-diff (arg &optional key)
"Restore ARGth diff from `ediff-killed-diffs-alist'.
ARG is a prefix argument. If ARG is nil, restore the current-difference.
If the second optional argument KEY, a character, is given, use
it to determine the target buffer instead of
`ediff-last-command-char'."
(interactive "P")
(ediff-barf-if-not-control-buffer)
(if (numberp arg)
(ediff-jump-to-difference arg))
(ediff-pop-diff ediff-current-difference
(ediff-char-to-buftype (or key last-command-event)))
;; recenter with rehighlighting, but no messages
(let (ediff-verbose-p)
(ediff-recenter)))