]> git.eshelyaron.com Git - emacs.git/commitdiff
Show A C hint for loading complete message only in nnimap groups.
authorTassilo Horn <tsdh@gnu.org>
Thu, 6 Aug 2020 19:47:48 +0000 (21:47 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 6 Aug 2020 19:47:48 +0000 (21:47 +0200)
* 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

index 1be8c48bcfc7ee0358c9ccb103ed2f2a2c903528..09dfb826eb9bde34fc4052a3fcf82b6346661f2f 100644 (file)
@@ -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