summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnimap.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-04-07 13:08:33 +0000
committerMiles Bader <miles@gnu.org>2008-04-07 13:08:33 +0000
commit59429511341a4d2dbec1f8b890f628ad928bfd5c (patch)
tree245e70521d05baf90de36fd4c14f57815bc5e342 /lisp/gnus/nnimap.el
parentfbf57abbfe59545a0b0bb9e6c7288a375f68de94 (diff)
downloademacs-59429511341a4d2dbec1f8b890f628ad928bfd5c.tar.gz
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1110
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r--lisp/gnus/nnimap.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index b2d23d32a80..45f794626a6 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -555,7 +555,8 @@ If EXAMINE is non-nil the group is selected read-only."
(imap-mailbox-select group examine))
(let (minuid maxuid)
(when (> (imap-mailbox-get 'exists) 0)
- (imap-fetch "1:*" "UID" nil 'nouidfetch)
+ (imap-fetch (if imap-enable-exchange-bug-workaround "1,*:*" "1,*")
+ "UID" nil 'nouidfetch)
(imap-message-map (lambda (uid Uid)
(setq minuid (if minuid (min minuid uid) uid)
maxuid (if maxuid (max maxuid uid) uid)))