Function: majutsu-ediff--control-required-inputs
majutsu-ediff--control-required-inputs is a natively compiled function
defined in majutsu-ediff.el.
Signature
(majutsu-ediff--control-required-inputs SPEC)
Documentation
Return temp input files that should exist before handling control SPEC.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-ediff.el
(defun majutsu-ediff--control-required-inputs (spec)
"Return temp input files that should exist before handling control SPEC."
(pcase (plist-get spec :type)
('diff
(when-let* ((file (plist-get spec :file))
(left-dir (majutsu-jj-expand-directory-from-jj
(plist-get spec :left)))
(right-dir (majutsu-jj-expand-directory-from-jj
(plist-get spec :right))))
(list (expand-file-name file left-dir)
(expand-file-name file right-dir))))
('merge
(list (majutsu-jj-expand-filename-from-jj (plist-get spec :left))
(majutsu-jj-expand-filename-from-jj (plist-get spec :base))
(majutsu-jj-expand-filename-from-jj (plist-get spec :right))))
(_ nil)))