diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-07-06 16:52:19 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2021-07-06 16:52:19 +0200 |
| commit | 640ceeb107e6b6602a89e7a7b8eb4eb4a9236978 (patch) | |
| tree | 337e19bbe6982b2db08229e19ea1c72fa85a023c /lisp/magit-notes.el | |
| parent | 271a81e69f4557e6ed6c5a3ee8e424f5b93d6542 (diff) | |
magit-notes-read-refs: Support use as transient reader
Some suffixes already try to use it, which resulted in an error.
Diffstat (limited to 'lisp/magit-notes.el')
| -rw-r--r-- | lisp/magit-notes.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-notes.el b/lisp/magit-notes.el index 55e4414..a541b03 100644 --- a/lisp/magit-notes.el +++ b/lisp/magit-notes.el @@ -176,7 +176,7 @@ Also see `magit-notes-merge'." it (concat "refs/notes/" it)))) -(defun magit-notes-read-refs (prompt) +(defun magit-notes-read-refs (prompt &optional _initial-input _history) (mapcar (lambda (ref) (if (string-prefix-p "refs/" ref) ref |
