"Fetcher for imap sources."
(mail-source-bind (imap source)
(let ((found 0)
- (buf (get-buffer-create (generate-new-buffer-name " *imap source*")))
+ (buf (get-buffer-create " *imap source*"))
(mail-source-string (format "imap:%s:%s" server mailbox))
remove)
(if (and (imap-open server port stream authentication buf)
(imap-close buf))
(imap-close buf)
(error (imap-error-text buf)))
- (kill-buffer buf)
found)))
(eval-and-compile