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
|
||||
:background)))
|
||||
(overlay-put overlay 'priority 9998)
|
||||
overlay)))
|
||||
(setq mu4e--loading-overlay-text
|
||||
(let ((overlay (make-overlay (point-min) (point-min))))
|
||||
(overlay-put overlay 'priority 9999)
|
||||
(overlay-put overlay 'before-string
|
||||
(propertize "Loading…\n"
|
||||
'face 'mu4e-header-title-face))
|
||||
overlay)))
|
||||
overlay))
|
||||
(setq mu4e--loading-overlay-text
|
||||
(let ((overlay (make-overlay (point-min) (point-min))))
|
||||
(overlay-put overlay 'priority 9999)
|
||||
(overlay-put overlay 'before-string
|
||||
(propertize "Loading…\n"
|
||||
'face 'mu4e-header-title-face))
|
||||
overlay))))
|
||||
(when mu4e--loading-overlay-bg
|
||||
(delete-overlay mu4e--loading-overlay-bg))
|
||||
(when mu4e--loading-overlay-text
|
||||
|
|
|
@ -70,7 +70,8 @@ Follows the format of `format-time-string'."
|
|||
|
||||
(defcustom mu4e-dim-when-loading t
|
||||
"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
|
||||
:group 'mu4e)
|
||||
|
||||
|
|
Loading…
Reference in New Issue