mu4e-headers: fix mu4e-headers-toggle-setting

This commit is contained in:
Dirk-Jan C. Binnema 2022-12-05 23:57:18 +02:00
parent 523a458239
commit bc02aaa413
1 changed files with 2 additions and 1 deletions

View File

@ -1577,7 +1577,8 @@ last search with the new setting."
(toggles (seq-map
(lambda (cell)
(cons
(concat (car cell) (format" (%s)" (if (cdr cell) "on" "off")))
(concat (car cell) (format" (%s)"
(if (symbol-value (cdr cell)) "on" "off")))
(cdr cell))) toggles))
(choice (mu4e-read-option "Toggle setting " toggles)))
(when choice