skip confirmation when executing marks

When running `u4e-mark-execute-all` with any prefix-arg you can skip the confirmation-prompt. The potential for accidentally hitting this is quite low.
This commit is contained in:
Philip "Galli" Rentschler 2021-04-09 16:53:48 +02:00 committed by GitHub
parent 5d414cffc9
commit b8fe2ba682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
(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?"