From: Tassilo Horn Date: Thu, 6 Aug 2020 19:52:18 +0000 (+0200) Subject: Show A C hint only if partial fetches are enabled. X-Git-Tag: emacs-28.0.90~6782 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6cb6215cbe65a183e16adf9122280f8a0155ae10;p=emacs.git Show A C hint only if partial fetches are enabled. * lisp/gnus/gnus-art.el (gnus-insert-mime-button): Show A C hint for downloading the complete message only if partial fetches are enabled. --- diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 09dfb826eb9..e0339cc1f32 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -5851,6 +5851,7 @@ all parts." (setq gnus-tmp-type-long (concat " --- " gnus-tmp-type-long))) (when (and (zerop gnus-tmp-length) ;; Only nnimap supports partial fetches so far. + nnimap-fetch-partial-articles (string-match "^nnimap\\+" gnus-newsgroup-name)) (setq gnus-tmp-type-long (concat