From: Lars Magne Ingebrigtsen Date: Sat, 25 Sep 2010 19:46:52 +0000 (+0200) Subject: Don't query whether to go offline -- just do it. X-Git-Url: http://cgit.sxemacs.org/?a=commitdiff_plain;h=21b736a8cc96e324cb9d04760f3895baea67982b;p=gnus Don't query whether to go offline -- just do it. It doesn't really seem to matter what the user responds here, I think, so it's just a confusing question. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d1523a4f..5f188996c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2010-09-25 Lars Magne Ingebrigtsen + * gnus-int.el (gnus-open-server): Don't query whether to go offline -- + just do it. It doesn't really seem to matter what the user responds + here, I think, so it's just a confusing question. + * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the non-streaming case. diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el index 2ca3205db..e5fa689aa 100644 --- a/lisp/gnus-int.el +++ b/lisp/gnus-int.el @@ -281,14 +281,7 @@ If it is down, start it up (again)." ;; recurse to open the agent's backend. (setq open-offline (eq gnus-server-unopen-status 'offline)) gnus-server-unopen-status) - ((and - (not gnus-batch-mode) - (gnus-y-or-n-p - (format - "Unable to open server %s (%s), go offline? " - server - (nnheader-get-report - (car gnus-command-method))))) + ((not gnus-batch-mode) (setq open-offline t) 'offline) (t