diff --git a/mu4e/mu4e-main.el b/mu4e/mu4e-main.el index ef0ef62c..4a19d285 100644 --- a/mu4e/mu4e-main.el +++ b/mu4e/mu4e-main.el @@ -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))