From 33b50e2fc9d43802e71e708e10605a0b1d04ad83 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 6 Aug 2020 21:47:48 +0200 Subject: [PATCH] Show A C hint for loading complete message only in nnimap groups. * lisp/gnus/gnus-art.el (gnus-insert-mime-button): Show A C hint for loading complete message only in nnimap groups. --- lisp/gnus/gnus-art.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 1be8c48bcfc..09dfb826eb9 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -5849,7 +5849,9 @@ all parts." (concat "; " gnus-tmp-name)))) (unless (equal gnus-tmp-description "") (setq gnus-tmp-type-long (concat " --- " gnus-tmp-type-long))) - (when (zerop gnus-tmp-length) + (when (and (zerop gnus-tmp-length) + ;; Only nnimap supports partial fetches so far. + (string-match "^nnimap\\+" gnus-newsgroup-name)) (setq gnus-tmp-type-long (concat gnus-tmp-type-long -- 2.39.2