Merge pull request #1134 from jabranham/master

mu4e: simplify what "e" does in mu4e-view mode
This commit is contained in:
Dirk-Jan C. Binnema 2018-01-23 22:56:32 +02:00 committed by GitHub
commit 97ad4baea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -1230,14 +1230,7 @@ attachments, but as this is the default, you may not need it."
(dolist (num attachnums)
(mu4e-view-save-attachment-single msg num)))))
(defun mu4e-view-save-attachment (&optional multi)
"Offer to save attachment(s).
If MULTI (prefix-argument) is nil, save a single one, otherwise,
offer to save a range of attachments."
(interactive "P")
(if multi
(mu4e-view-save-attachment-multi)
(mu4e-view-save-attachment-single)))
(defalias #'mu4e-view-save-attachment #'mu4e-view-save-attachment-multi)
(defun mu4e-view-open-attachment (&optional msg attnum)
"Open attachment number ATTNUM from MSG.

View File

@ -1222,9 +1222,8 @@ C-u f fetches multiple URLs
k save the numbered URL in the kill-ring.
C-u k saves multiple URLs
e extract (save) attachment (asks for number)
e extract (save) one or more attachments (asks for numbers)
(or: <mouse-2> or S-RET with point on attachment)
C-u e extracts multiple attachments
o open attachment (asks for number)
(or: <mouse-1> or M-RET with point on attachment)