Merge pull request #169 from tmalsburg/master

* fix for issue #153 where flagging messages cause message view to open when it shouldn't.
This commit is contained in:
Dirk-Jan C. Binnema
2013-03-17 13:11:18 -07:00

View File

@ -1214,10 +1214,12 @@ other windows."
;; headers are visible
(progn
(kill-buffer-and-window) ;; kill the view win
(setq mu4e~headers-view-win nil)
(select-window headers-win)) ;; and switch to the headers win...
;; headers are not visible...
(progn
(kill-buffer)
(setq mu4e~headers-view-win nil)
(when (buffer-live-p mu4e~view-headers-buffer)
(switch-to-buffer mu4e~view-headers-buffer))))))