Function: majutsu-read-file-items

majutsu-read-file-items is a natively compiled function defined in majutsu-file.el.

Signature

(majutsu-read-file-items PROMPT INITIAL-INPUT HISTORY ITEMS)

Documentation

Read multiple files from completion ITEMS.

PROMPT, INITIAL-INPUT, and HISTORY are standard reader arguments. ITEMS contains strings or (PATH . ANNOTATION) pairs.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-file.el
(defun majutsu-read-file-items (prompt initial-input history items)
  "Read multiple files from completion ITEMS.
PROMPT, INITIAL-INPUT, and HISTORY are standard reader arguments.
ITEMS contains strings or (PATH . ANNOTATION) pairs."
  (let* ((root (majutsu-file--root))
         (default-directory root)
         (initial-input (or initial-input
                            (majutsu-file--path-at-point root))))
    (majutsu-completing-read-multiple
     prompt
     (majutsu-completion-table items 'majutsu-file)
     nil nil initial-input
     (or history 'majutsu-file-path-history)
     nil 'majutsu-file)))