Function: magit-notes-read-args

magit-notes-read-args is a byte-compiled function defined in magit-notes.el.

Signature

(magit-notes-read-args PROMPT)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-notes.el
(defun magit-notes-read-args (prompt)
  (list (magit-read-branch-or-commit prompt (magit-stash-at-point))
        (and-let ((str (seq-find (##string-match "^--ref=\\(.+\\)" %)
                                 (transient-args 'magit-notes))))
          (match-str 1 str))))