mirror of
https://github.com/djcb/mu.git
synced 2024-06-21 06:56:48 +02:00
* another fix for mu4e~headers-redraw-get-view-window
This commit is contained in:
parent
87ddafb37a
commit
560eb77f69
|
@ -630,8 +630,10 @@ update the query history stack."
|
|||
of `mu4e-split-view', and return a window for the message view."
|
||||
(unless (buffer-live-p mu4e~headers-buffer)
|
||||
(error "No headers buffer available"))
|
||||
(while (> (count-windows) 2) ;; FIXME: why 2 and not 1?
|
||||
(delete-window))
|
||||
(walk-windows
|
||||
(lambda (win)
|
||||
(when (> (count-windows) 2)
|
||||
(delete-window win))) nil nil)
|
||||
(switch-to-buffer mu4e~headers-buffer)
|
||||
(cond
|
||||
((eq mu4e-split-view 'horizontal) ;; split horizontally
|
||||
|
|
Loading…
Reference in New Issue
Block a user