diff --git a/mu4e/mu4e-utils.el b/mu4e/mu4e-utils.el index 44b600a3..fcb563ad 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -811,10 +811,10 @@ Also scrolls to the final line, and update the progress throbber." (defun mu4e~temp-window (buf height) "Create a temporary window with HEIGHT at the bottom of the -screen to display buffer BUF." +frame to display buffer BUF." (let ((win (split-window - nil + (frame-root-window) (- (window-height (frame-root-window)) height)))) (set-window-buffer win buf) (set-window-dedicated-p win t)