Permalink
Browse files

Set mu4e-headers-view-win to nil when closing message view.

  • Loading branch information...
1 parent 203aeb3 commit 9b2b57fbb7db5df7ed79918195f7182d97396742 @tmalsburg-test tmalsburg-test 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 9b2b57f

Please sign in to comment.