From b68a12692f4e9ffeee260191750764df9636a3ae Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 12 Apr 2021 18:01:38 +0300 Subject: [PATCH] mu4e-mark: don't be too eager to avoid confirmation Fixes: #1974. --- mu4e/mu4e-mark.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e-mark.el b/mu4e/mu4e-mark.el index da3cb5c6..e98bbf39 100644 --- a/mu4e/mu4e-mark.el +++ b/mu4e/mu4e-mark.el @@ -377,7 +377,7 @@ user which one)." (mu4e-error "Target dir %s does not exist " fulltarget) target))) -(defun mu4e-mark-execute-all (&optional no-confirmation) +(defun mu4e-mark-execute-all (no-confirmation) "Execute the actions for all marked messages in this buffer. After the actions have been executed successfully, the affected messages are *hidden* from the current header list. Since the @@ -389,7 +389,7 @@ flow. Therefore, we hide the message, which in practice seems to work well. If NO-CONFIRMATION is non-nil, don't ask user for confirmation." - (interactive "p") + (interactive "P") (mu4e~mark-in-context (let* ((marknum (hash-table-count mu4e~mark-map)) (prompt (format "Are you sure you want to execute %d mark%s?"