mirror of https://github.com/djcb/mu.git
Set mu4e-headers-view-win to nil when closing message view.
This commit is contained in:
parent
203aeb3093
commit
9b2b57fbb7
|
@ -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))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue