summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreindert <info@codesensei.nl>2023-10-18 16:25:52 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-10-19 07:50:37 +0300
commit451303193a63ef20d04e8a1b12fb5a8d75dbeab2 (patch)
tree5e8fd02ff7b62bc0e764c7d8dce66dc3723c0a89
parentbcd3e48931df1cb8042ac84b888a7ee9a540815f (diff)
Fix completion w other keys than quick key
-rw-r--r--mu4e/mu4e-helpers.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/mu4e/mu4e-helpers.el b/mu4e/mu4e-helpers.el
index 67608c1..16912d1 100644
--- a/mu4e/mu4e-helpers.el
+++ b/mu4e/mu4e-helpers.el
@@ -241,7 +241,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.