Merge pull request #2573 from rjekker/fix-completion

Fix completion w other keys than quick key
This commit is contained in:
Dirk-Jan C. Binnema 2023-10-19 07:47:02 +03:00 committed by GitHub
commit 2a28b4efbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ Return the matching choice value (cdr of the cell)."
;; Require confirmation, if the input does not match a suggestion
nil t nil nil nil))))
(or quick-result
(cdr (assoc result choices)))))
(cdadr (assoc result choices)))))
(defun mu4e--read-choice-builtin (prompt choices)
"Read and return one of CHOICES, prompting for PROMPT.