Fix mu4e-headers-mark-or-move-to-trash()

Fix mu4e-headers-mark-or-move-to-trash() to pick right trash folder when
:no-trash-flag option is used in a context.
This commit is contained in:
Giuseppe Fierro 2020-05-10 08:25:41 +02:00
parent 2b105009aa
commit 08318af76c
1 changed files with 1 additions and 1 deletions

View File

@ -832,7 +832,7 @@ Also see `mu4e-view-mark-or-move-to-trash'."
(mu4e-headers-mark-for-trash)
(mu4e-mark-set 'move (if (functionp mu4e-trash-folder)
(funcall mu4e-trash-folder (mu4e-message-at-point))
mu4e-trash-folder))
(mu4e-get-trash-folder (mu4e-message-at-point))))
(mu4e-headers-next))))
;;; Headers-mode and mode-map