Function: majutsu-read-files
majutsu-read-files is a natively compiled function defined in
majutsu-file.el.
Signature
(majutsu-read-files PROMPT INITIAL-INPUT HISTORY &optional LIST-FN)
Documentation
Read multiple files with completion.
PROMPT, INITIAL-INPUT, HISTORY are standard reader args.
LIST-FN defaults to majutsu-file-list.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-file.el
(defun majutsu-read-files (prompt initial-input history &optional list-fn)
"Read multiple files with completion.
PROMPT, INITIAL-INPUT, HISTORY are standard reader args.
LIST-FN defaults to `majutsu-file-list'."
(let* ((root (majutsu-file--root))
(candidates (funcall (or list-fn #'majutsu-file-list)))
(payload (majutsu-file-candidate-data "@" root candidates)))
(majutsu-completing-read-multiple-payload
prompt payload
nil nil
(or initial-input (majutsu-file--path-at-point root))
(or history 'majutsu-file-path-history)
nil nil nil root)))