This commit is contained in:
djcb
2013-05-30 06:16:05 -07:00
parent e7c63cee47
commit 60f75eea42
3 changed files with 7 additions and 7 deletions

View File

@ -174,10 +174,10 @@ an absolute path."
(defun mu4e-message (frm &rest args)
"Like `message', but prefixed with mu4e.
If we're waiting for user-input, don't show anything."
(unless (active-minibuffer-window)
(message "%s" (apply 'mu4e-format frm args))
nil))
If we're waiting for user-input or if there's some message in the
echo area, don't show anything."
(unless (or (active-minibuffer-window) (current-message))
(message "%s" (apply 'mu4e-format frm args))))
(defun mu4e-error (frm &rest args)
"Create [mu4e]-prefixed error based on format FRM and ARGS.