mirror of https://github.com/djcb/mu.git
Save window selection after updating the index
This commit is contained in:
parent
c335914caa
commit
33694814fc
|
@ -655,8 +655,9 @@ process."
|
|||
(zerop (plist-get info :updated)))
|
||||
(mu4e~request-contacts-maybe))
|
||||
(when (and (buffer-live-p mainbuf) (get-buffer-window mainbuf))
|
||||
(select-window (get-buffer-window mainbuf))
|
||||
(mu4e~main-view 'refresh)))))
|
||||
(save-window-excursion
|
||||
(select-window (get-buffer-window mainbuf))
|
||||
(mu4e~main-view 'refresh))))))
|
||||
((plist-get info :message)
|
||||
(mu4e-index-message "%s" (plist-get info :message))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue