Skip to content

Commit

Permalink
[dump]
Browse files Browse the repository at this point in the history
I'm guessing the completion-table thing is not needed in this case.
  • Loading branch information
tarsius committed Jun 10, 2021
1 parent f6ce067 commit 5813d4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lisp/magit-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ acts similarly to `completing-read', except for the following:
(prompt choices &optional predicate require-match initial-input hist def)
"Magit wrapper for standard `completing-read' function."
(unless (or (bound-and-true-p helm-mode)
(bound-and-true-p ivy-mode))
(bound-and-true-p ivy-mode)
(bound-and-true-p vertico-mode))
(setq prompt (magit-prompt-with-default prompt def))
(setq choices (magit--completion-table choices)))
(cl-letf (((symbol-function 'completion-pcm--all-completions)
Expand Down

0 comments on commit 5813d4b

Please sign in to comment.