mirror of https://github.com/djcb/mu.git
mu4e-main: avoid calling mu4e-main-mode multiple times
once is enough
This commit is contained in:
parent
cdddb816e4
commit
6a294da2a1
|
@ -262,7 +262,6 @@ When REFRESH is non nil refresh infos from server."
|
|||
;; explicitely with REFRESH arg.
|
||||
(switch-to-buffer buf)
|
||||
(with-current-buffer buf
|
||||
(mu4e-main-mode)
|
||||
(mu4e~main-view-real-1 refresh))
|
||||
(goto-char (point-min)))
|
||||
(add-to-list 'global-mode-string '(:eval (mu4e-context-label)))))
|
||||
|
|
Loading…
Reference in New Issue