filter before invoking STARTTLS negotiation, to support new
starttls.el that uses GNUTLS.
+2003-09-20 Simon Josefsson <jas@extundo.com>
+
+ * imap.el (imap-starttls-open): Erase buffer and disable process
+ filter before invoking STARTTLS negotiation, to support new
+ starttls.el that uses GNUTLS.
+
2003-09-18 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-treat-display-x-face): Use set-default instead
(unwind-protect
(progn
(set-process-filter imap-process 'imap-arrival-filter)
+ (erase-buffer)
(when (and (eq imap-stream 'starttls)
(imap-ok-p (imap-send-command-wait "STARTTLS")))
+ (set-process-filter imap-process nil)
(starttls-negotiate imap-process)))
(set-process-filter imap-process nil)))
(when (memq (process-status process) '(open run))