Function: majutsu-ref-read

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

Signature

(majutsu-ref-read KIND PROMPT PAYLOAD HISTORY &optional DEFAULT REQUIRE-MATCH DIRECTORY)

Documentation

Read one ref of KIND with PROMPT from structured PAYLOAD.

HISTORY is the minibuffer history variable. DEFAULT, REQUIRE-MATCH, and DIRECTORY are forwarded to majutsu-completing-read-payload.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-ref.el
(defun majutsu-ref-read (kind prompt payload history &optional default require-match directory)
  "Read one ref of KIND with PROMPT from structured PAYLOAD.
HISTORY is the minibuffer history variable.  DEFAULT, REQUIRE-MATCH, and
DIRECTORY are forwarded to `majutsu-completing-read-payload'."
  (let ((default-directory (or directory default-directory)))
    (majutsu-completing-read-payload
     prompt payload nil require-match nil history default
     (majutsu-ref--category kind) nil default-directory)))