mirror of https://github.com/djcb/mu.git
* mu4e-utils: fix mu4e~temp-window
This commit is contained in:
parent
91f9892814
commit
a4646ca502
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue