Function: ediff-get-region-contents
ediff-get-region-contents is a byte-compiled function defined in
ediff-util.el.gz.
Signature
(ediff-get-region-contents N BUF-TYPE CTRL-BUF &optional START END)
Source Code
;; Defined in /usr/src/emacs/lisp/vc/ediff-util.el.gz
(defun ediff-get-region-contents (n buf-type ctrl-buf &optional start end)
(ediff-with-current-buffer
(ediff-with-current-buffer ctrl-buf (ediff-get-buffer buf-type))
(buffer-substring
(or start (ediff-get-diff-posn buf-type 'beg n ctrl-buf))
(or end (ediff-get-diff-posn buf-type 'end n ctrl-buf)))))