summaryrefslogtreecommitdiff
path: root/scripts
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
commit30b06a9b289b08c93498acce4a70bc114f7d9093 (patch)
tree20093f4a54c2c827a2f17d91395ca7ee0063791b /scripts
parentad9bf6afdd5abee9cb9ea0053a900a9482d374f2 (diff)
downloaddotemacs-30b06a9b289b08c93498acce4a70bc114f7d9093.tar.gz
dotemacs-30b06a9b289b08c93498acce4a70bc114f7d9093.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')
0 files changed, 0 insertions, 0 deletions