mu4e: make mu4e-bookmarks items simple plists

We don't need cl-defstruct; simplify things a bit.
This commit is contained in:
Dirk-Jan C. Binnema
2020-01-13 10:34:08 +02:00
parent 760b6a14de
commit 54c2a15ed0
5 changed files with 63 additions and 81 deletions

View File

@ -99,11 +99,11 @@
(interactive)
(mapcar (lambda (bookmark)
(speedbar-insert-button
(concat " " (mu4e-bookmark-name bookmark))
(concat " " (plist-get bookmark :name))
'mu4e-highlight-face
'highlight
'mu4e~speedbar-bookmark
(mu4e-bookmark-query bookmark)))
(plist-get bookmark :query)))
(mu4e-bookmarks)))
(defun mu4e~speedbar-bookmark (&optional _text token _ident)