aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-email.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 00:35:20 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 00:35:20 -0500
commit1a57e00651af892f9399b832c915a2cee8077bfa (patch)
treea219da5fe486f854883ac998c3cd67268324db86 /scripts/setup-email.sh
parentf406c91c06902fef388ec1cc52ea373b2d72485a (diff)
downloaddotemacs-1a57e00651af892f9399b832c915a2cee8077bfa.tar.gz
dotemacs-1a57e00651af892f9399b832c915a2cee8077bfa.zip
refactor(mail): fail fast on an attachment part with no MIME handle
`cj/mu4e--save-attachment-part' called `cj/mu4e--ensure-attachment-save-functions' first, so a part with no MIME handle triggered the `mu4e-mime-parts' load before the handle check could fail. The handle check now runs first, so the malformed input is caught right away and the user-error fires the same way whether or not mu4e's MIME support is loadable. The test for that case drops the mu4e stubs it only needed because the load used to come first.
Diffstat (limited to 'scripts/setup-email.sh')
0 files changed, 0 insertions, 0 deletions