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