summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2020-08-06 21:47:48 +0200
committerTassilo Horn <tsdh@gnu.org>2020-08-06 21:47:48 +0200
commit33b50e2fc9d43802e71e708e10605a0b1d04ad83 (patch)
tree2a7b987bb0bb8076ca481827a9675831f6f00b87
parent0aede2d8bfbf04b6c2be12c124f0feda998c2e53 (diff)
downloademacs-33b50e2fc9d43802e71e708e10605a0b1d04ad83.tar.gz
emacs-33b50e2fc9d43802e71e708e10605a0b1d04ad83.tar.bz2
emacs-33b50e2fc9d43802e71e708e10605a0b1d04ad83.zip
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.
-rw-r--r--lisp/gnus/gnus-art.el4
1 files changed, 3 insertions, 1 deletions
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