From a4646ca502db8453ac14c7af28962779ffe617b3 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 12 Jan 2014 12:57:05 +0200 Subject: [PATCH] * mu4e-utils: fix mu4e~temp-window --- mu4e/mu4e-utils.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)