1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-20 06:46:50 +02:00

mu4e: redraw menu after context switch

This is useful if you change e.g. bookmarks in the context vars and want your
menu to reflect that.
This commit is contained in:
Stig Brautaset 2016-12-03 12:11:19 +00:00
parent b8711d22c8
commit 764b205fe9

View File

@ -108,6 +108,7 @@ non-nil."
(set (car cell) (cdr cell)))
(mu4e-context-vars context)))
(setq mu4e~context-current context)
(mu4e~main-view-real nil nil)
(mu4e-message "Switched context to %s" (mu4e-context-name context)))
context))