(imap-starttls-open): Typo.
authorSimon Josefsson <jas@extundo.com>
Sun, 19 Dec 1999 00:46:33 +0000 (00:46 +0000)
committerSimon Josefsson <jas@extundo.com>
Sun, 19 Dec 1999 00:46:33 +0000 (00:46 +0000)
lisp/imap.el

index ebc0c91..cbec0ae 100644 (file)
@@ -511,7 +511,7 @@ If ARGS, PROMPT is used as an argument to `format'."
        (unwind-protect
            (progn
              (set-process-filter imap-process 'imap-arrival-filter)
-             (when (and (eq imap-stream 'tls)
+             (when (and (eq imap-stream 'starttls)
                         (imap-ok-p (imap-send-command-wait "STARTTLS")))
                (starttls-negotiate imap-process)))
          (set-process-filter imap-process nil)))