(imap-ssl-open-2): Do away with w32-related
authorczkmt <czkmt>
Wed, 26 Jun 2002 11:52:43 +0000 (11:52 +0000)
committerczkmt <czkmt>
Wed, 26 Jun 2002 11:52:43 +0000 (11:52 +0000)
workaround I installed on 1999-12-28, i.e. also call
`as-binary-process' in windows-nt.

lisp/imap.el

index b6cd7a4..33bd7d2 100644 (file)
@@ -604,14 +604,8 @@ If ARGS, PROMPT is used as an argument to `format'."
             process)
        (when (setq process
                    (condition-case nil
-                       (cond ((eq system-type 'windows-nt)
-                              (let (selective-display
-                                    (coding-system-for-write 'binary)
-                                    (coding-system-for-read 'raw-text-dos))
-                                (open-ssl-stream name buffer server port)))
-                             (t
-                              (as-binary-process
-                               (open-ssl-stream name buffer server port))))
+                       (as-binary-process
+                        (open-ssl-stream name buffer server port))
                      (error nil)))
          (with-current-buffer buffer
            (goto-char (point-min))