diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-06 17:04:28 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-06 17:04:28 +0200 |
commit | d8bd7d015e626c73351938626a01288028ebe1c5 (patch) | |
tree | c7f0c092bb1a24749ab14e7aa13467200dcc572f /lisp/gnus | |
parent | 43fba076c99cb8e62236f636bfc036068a63c166 (diff) | |
download | emacs-d8bd7d015e626c73351938626a01288028ebe1c5.tar.gz |
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).
Diffstat (limited to 'lisp/gnus')
-rw-r--r-- | lisp/gnus/gnus-msg.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index bac987e2f00..db54237a767 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -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)) |