Permalink
Browse files

Merge pull request #169 from tmalsburg/master

* fix for issue #153 where flagging messages cause message view to open when it shouldn't.
  • Loading branch information...
2 parents fdcd9bd + a4e714d commit 85f0064fea185f67577cadfc13b8cf5d7a6ac3f2 @djcb committed Mar 17, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 mu4e/mu4e-view.el
View
@@ -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))))))

0 comments on commit 85f0064

Please sign in to comment.