Use "[]" as the parameter instead of "".
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 20 Sep 2010 15:48:00 +0000 (17:48 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 20 Sep 2010 15:48:00 +0000 (17:48 +0200)
Fix found by Andrew Cohen.

lisp/ChangeLog
lisp/nnimap.el

index 4b6b7de..9501859 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
+       "".  Fix found by Andrew Cohen.
+
        * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
        instead of -encode-string.
 
index b3a9e5b..fddb406 100644 (file)
@@ -972,7 +972,7 @@ textual parts.")
                 "BODY.PEEK[HEADER] BODY.PEEK"
               "RFC822.PEEK"))
            (if nnimap-split-download-body-default
-               ""
+               "[]"
              "[1]")))
    t))