mirror of https://github.com/djcb/mu.git
Merge pull request #1134 from jabranham/master
mu4e: simplify what "e" does in mu4e-view mode
This commit is contained in:
commit
97ad4baea7
|
@ -1230,14 +1230,7 @@ attachments, but as this is the default, you may not need it."
|
||||||
(dolist (num attachnums)
|
(dolist (num attachnums)
|
||||||
(mu4e-view-save-attachment-single msg num)))))
|
(mu4e-view-save-attachment-single msg num)))))
|
||||||
|
|
||||||
(defun mu4e-view-save-attachment (&optional multi)
|
(defalias #'mu4e-view-save-attachment #'mu4e-view-save-attachment-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)))
|
|
||||||
|
|
||||||
(defun mu4e-view-open-attachment (&optional msg attnum)
|
(defun mu4e-view-open-attachment (&optional msg attnum)
|
||||||
"Open attachment number ATTNUM from MSG.
|
"Open attachment number ATTNUM from MSG.
|
||||||
|
|
|
@ -1222,9 +1222,8 @@ C-u f fetches multiple URLs
|
||||||
k save the numbered URL in the kill-ring.
|
k save the numbered URL in the kill-ring.
|
||||||
C-u k saves multiple URLs
|
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)
|
(or: <mouse-2> or S-RET with point on attachment)
|
||||||
C-u e extracts multiple attachments
|
|
||||||
o open attachment (asks for number)
|
o open attachment (asks for number)
|
||||||
(or: <mouse-1> or M-RET with point on attachment)
|
(or: <mouse-1> or M-RET with point on attachment)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue