* imap.el (imap-kerberos4-open):
(imap-gssapi-open):
(imap-ssl-open):
(imap-network-open):
(imap-shell-open):
(imap-starttls-open): Set buffer to workaround spurious
`accept-process-output' buffer changes. Thanks to Mats Lidell
<Mats.Lidell@contactor.se> for report and partial patch and Jake
Colman <colman@ppllc.com> for report.