mirror of https://github.com/djcb/mu.git
Respect `mu4e-compose-in-new-frame' if non-nil
This commit is contained in:
parent
32aefe508f
commit
8c3a71f884
|
@ -220,6 +220,8 @@ for BUFFER-OR-NAME to be displayed in."
|
|||
('(view . vertical) '((window-min-width . fit-window-to-buffer)))
|
||||
(`(,_ . t) nil)))
|
||||
(window-action (cond
|
||||
((and (eq buffer-type 'compose) mu4e-compose-in-new-frame)
|
||||
'(display-buffer-pop-up-frame))
|
||||
((memq buffer-type '(headers compose))
|
||||
'(display-buffer-reuse-mode-window display-buffer-same-window))
|
||||
((memq mu4e-split-view '(horizontal vertical))
|
||||
|
|
Loading…
Reference in New Issue