mirror of https://github.com/djcb/mu.git
mu4e-main: make main-window full-screen again
Make the main-window fullscreen again, as before.
This commit is contained in:
parent
de8b4f0e32
commit
7d9a9d8a7c
|
@ -375,7 +375,11 @@ When REFRESH is non nil refresh infos from server."
|
||||||
;; `mu4e--main-view' is called from `mu4e--start', so don't call it
|
;; `mu4e--main-view' is called from `mu4e--start', so don't call it
|
||||||
;; a second time here i.e. do not refresh unless specified
|
;; a second time here i.e. do not refresh unless specified
|
||||||
;; explicitly with REFRESH arg.
|
;; explicitly with REFRESH arg.
|
||||||
|
|
||||||
(mu4e-display-buffer buf t)
|
(mu4e-display-buffer buf t)
|
||||||
|
;; undo some of the mu4e-display-buffer magic; we want a full screen.
|
||||||
|
;; perhaps we could use display-buffer-alist instead?
|
||||||
|
(delete-other-windows)
|
||||||
(with-current-buffer buf
|
(with-current-buffer buf
|
||||||
(mu4e--main-view-real-1 refresh))
|
(mu4e--main-view-real-1 refresh))
|
||||||
(goto-char (point-min))))
|
(goto-char (point-min))))
|
||||||
|
|
Loading…
Reference in New Issue