diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-08-02 22:49:19 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-08-02 22:49:19 +0800 |
commit | 6814250a0c95e0849c191e7f5fe8e2a8bee31440 (patch) | |
tree | e48ff0faa822b1bb7f0d626d58732f40b6b97e8b /_spacemacs.d/local/mu4e/mu4e-speedbar.el | |
parent | 98083f04530335e8f98589373ecfad8948b86ae8 (diff) | |
download | dotfiles-6814250a0c95e0849c191e7f5fe8e2a8bee31440.tar.bz2 |
spacemacs: update mu/mu4e to git20160802
Diffstat (limited to '_spacemacs.d/local/mu4e/mu4e-speedbar.el')
-rw-r--r-- | _spacemacs.d/local/mu4e/mu4e-speedbar.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/_spacemacs.d/local/mu4e/mu4e-speedbar.el b/_spacemacs.d/local/mu4e/mu4e-speedbar.el index b359511..09a4c49 100644 --- a/_spacemacs.d/local/mu4e/mu4e-speedbar.el +++ b/_spacemacs.d/local/mu4e/mu4e-speedbar.el @@ -34,6 +34,7 @@ (require 'speedbar) (require 'mu4e-vars) (require 'mu4e-headers) +(require 'mu4e-utils) (defvar mu4e-main-speedbar-key-map nil "Keymap used when in mu4e display mode.") @@ -90,12 +91,12 @@ (interactive) (mapcar (lambda (bookmark) (speedbar-insert-button - (concat " " (nth 1 bookmark)) + (concat " " (mu4e-bookmark-name bookmark)) 'mu4e-highlight-face 'highlight 'mu4e~speedbar-bookmark - (nth 0 bookmark))) - mu4e-bookmarks)) + (mu4e-bookmark-query bookmark))) + (mu4e-bookmarks))) (defun mu4e~speedbar-bookmark (&optional text token ident) "Run bookmarked query TOKEN. TEXT and INDENT are not used." |