* mu4e-utils: fix mu4e~temp-window

This commit is contained in:
djcb 2014-01-12 12:57:05 +02:00
parent 91f9892814
commit a4646ca502
1 changed files with 2 additions and 2 deletions

View File

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