mu4e-main: put bookmark/maildir query in help-echo

This commit is contained in:
Dirk-Jan C. Binnema 2023-01-18 19:41:25 +02:00
parent 817675d83c
commit ae10d3a3f8
1 changed files with 6 additions and 4 deletions

View File

@ -202,16 +202,18 @@ character of the keyboard shortcut
(mapconcat
(lambda (item)
(cl-destructuring-bind
(&key hide name key favorite &allow-other-keys) item
(&key hide name key favorite query &allow-other-keys) item
;; hide items explicitly hidden, without key or wrong category.
(if hide
""
(concat
(mu4e--main-action-str
(format "\t* [%s] %s " (format "%c%c" shortcut key)
(format "\t* [%s] %s "
(format "%c%c" shortcut key)
(propertize
name 'face
(if favorite 'mu4e-header-key-face nil))))
name
'face (if favorite 'mu4e-header-key-face nil)
'help-echo query)))
(format "%s%s\n"
(make-string (- max-length (string-width name)) ?\s)
(mu4e--query-item-display-counts item)))))) data ""))