Make gnus-gcc-externalize-attachments work again

* lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Allow externalizing
parts again by defeating the cache (bug#49436).
This commit is contained in:
Lars Ingebrigtsen 2021-07-06 17:04:28 +02:00
parent 43fba076c9
commit d8bd7d015e

View file

@ -1597,6 +1597,10 @@ this is a reply."
(if (stringp gnus-gcc-externalize-attachments)
(string-match gnus-gcc-externalize-attachments group)
gnus-gcc-externalize-attachments))
;; If we want to externalize stuff when GCC-ing, then we
;; can't use the cache, because that has all the contents.
(when mml-externalize-attachments
(setq encoded-cache nil))
(save-excursion
(nnheader-set-temp-buffer " *acc*")
(setq message-options (with-current-buffer cur message-options))