summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1ef88f7a..3c101047 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1281,6 +1281,10 @@ With two prefix arguments, write out the day and month name."
 
                     mu4e-maildir (expand-file-name "~/mail")
 
+                    mu4e-headers-hide-predicate
+                    (lambda (msg)
+                      (member 'trashed (mu4e-message-field msg :flags)))
+
                     mu4e-change-filenames-when-moving t
 
                     message-kill-buffer-on-exit t