mu4e-main: use longest bookmark/mailder count in bookmarks section
This commit is contained in:
committed by
Dirk-Jan C. Binnema
parent
a070cca79d
commit
5110b02349
@ -114,8 +114,7 @@ clicked."
|
|||||||
(defun mu4e~main-bookmarks ()
|
(defun mu4e~main-bookmarks ()
|
||||||
;; TODO: it's a bit uncool to hard-code the "b" shortcut...
|
;; TODO: it's a bit uncool to hard-code the "b" shortcut...
|
||||||
(cl-loop with bmks = (mu4e-bookmarks)
|
(cl-loop with bmks = (mu4e-bookmarks)
|
||||||
with longest = (cl-loop for b in bmks
|
with longest = (mu4e~longest-of-maildirs-and-bookmarks)
|
||||||
maximize (length (plist-get b :name)))
|
|
||||||
with queries = (plist-get mu4e~server-props :queries)
|
with queries = (plist-get mu4e~server-props :queries)
|
||||||
for bm in bmks
|
for bm in bmks
|
||||||
for key = (string (plist-get bm :key))
|
for key = (string (plist-get bm :key))
|
||||||
|
|||||||
Reference in New Issue
Block a user