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

lisp/imap.el

index 33f2d52..33bd7d2 100644 (file)
@@ -604,16 +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)
-                                    (output-coding-system 'binary)
-                                    (input-coding-system '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))