Function: ediff-clone-buffer-for-window-comparison

ediff-clone-buffer-for-window-comparison is a byte-compiled function defined in ediff-util.el.gz.

Signature

(ediff-clone-buffer-for-window-comparison BUFF WIND REGION-NAME)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/ediff-util.el.gz
(defun ediff-clone-buffer-for-window-comparison (buff wind region-name)
  (let ((cloned-buff (ediff-make-cloned-buffer buff region-name)))
    (ediff-with-current-buffer cloned-buff
      (setq ediff-temp-indirect-buffer t))
    (when (window-live-p wind)
      (set-window-buffer wind cloned-buff))
    cloned-buff))