]> git.eshelyaron.com Git - emacs.git/commitdiff
Show A C hint only if partial fetches are enabled.
authorTassilo Horn <tsdh@gnu.org>
Thu, 6 Aug 2020 19:52:18 +0000 (21:52 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 6 Aug 2020 19:52:18 +0000 (21:52 +0200)
* lisp/gnus/gnus-art.el (gnus-insert-mime-button): Show A C hint for
downloading the complete message only if partial fetches are enabled.

lisp/gnus/gnus-art.el

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