mirror of https://github.com/djcb/mu.git
mu4e: make mu4e-dim-when-loading nil also hide "Loading"
Not the best name, but it's easy. So (setq mu4e-dim-when-loading nil) to complete remove the loading-effect. Fixes #2451.
This commit is contained in:
parent
ff1e06c7c8
commit
189838b030
|
@ -1591,14 +1591,14 @@ region if there is a region, then move to the next message."
|
||||||
,(face-attribute 'default
|
,(face-attribute 'default
|
||||||
:background)))
|
:background)))
|
||||||
(overlay-put overlay 'priority 9998)
|
(overlay-put overlay 'priority 9998)
|
||||||
overlay)))
|
overlay))
|
||||||
(setq mu4e--loading-overlay-text
|
(setq mu4e--loading-overlay-text
|
||||||
(let ((overlay (make-overlay (point-min) (point-min))))
|
(let ((overlay (make-overlay (point-min) (point-min))))
|
||||||
(overlay-put overlay 'priority 9999)
|
(overlay-put overlay 'priority 9999)
|
||||||
(overlay-put overlay 'before-string
|
(overlay-put overlay 'before-string
|
||||||
(propertize "Loading…\n"
|
(propertize "Loading…\n"
|
||||||
'face 'mu4e-header-title-face))
|
'face 'mu4e-header-title-face))
|
||||||
overlay)))
|
overlay))))
|
||||||
(when mu4e--loading-overlay-bg
|
(when mu4e--loading-overlay-bg
|
||||||
(delete-overlay mu4e--loading-overlay-bg))
|
(delete-overlay mu4e--loading-overlay-bg))
|
||||||
(when mu4e--loading-overlay-text
|
(when mu4e--loading-overlay-text
|
||||||
|
|
|
@ -70,7 +70,8 @@ Follows the format of `format-time-string'."
|
||||||
|
|
||||||
(defcustom mu4e-dim-when-loading t
|
(defcustom mu4e-dim-when-loading t
|
||||||
"Dim buffer text when loading new data.
|
"Dim buffer text when loading new data.
|
||||||
If non-nil, dim some buffers during data retrieval and rendering."
|
If non-nil, dim some buffers during data retrieval and rendering,
|
||||||
|
and show some \"Loading\" banner."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'mu4e)
|
:group 'mu4e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue