Update mode-line when changing context

* mu4e/mu4e-context.el (mu4e-context-switch): Do it.
This commit is contained in:
Thierry Volpiatto 2020-02-21 09:08:48 +01:00
parent b301b7663b
commit ec684cc99c
No known key found for this signature in database
GPG Key ID: 28D17F5359F29997
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ non-nil."
(setq mu4e~context-current context)
(run-hooks 'mu4e-context-changed-hook)
(mu4e-message "Switched context to %s" (mu4e-context-name context)))
(mu4e-message "Switched context to %s" (mu4e-context-name context))
(force-mode-line-update))
context))
(defun mu4e~context-autoswitch (&optional msg policy)