mu4e: index: only clear echo area when asked to

In `mu4e-hide-index-message`-mode, don't clear the echo area.
Fixes #925.
This commit is contained in:
djcb 2016-10-29 11:50:33 +03:00
parent 739013d031
commit d6337ade1c
1 changed files with 2 additions and 1 deletions

View File

@ -993,7 +993,8 @@ frame to display buffer BUF."
(maybe-error (or (not (eq status 'exit)) (/= code 0)))
(buf (and (buffer-live-p mu4e~update-buffer) mu4e~update-buffer))
(win (and buf (get-buffer-window buf))))
(message nil)
(unless mu4e-hide-index-messages
(message nil))
(if maybe-error
(progn
(when mu4e-index-update-error-warning