+2012-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * starttls.el (starttls-available-p): Return nil on Windows/MS-DOS
+ systems, since these allegedly don't work there.
+
2012-01-04 Chris Gray <chrismgray@gmail.com> (tiny change)
* mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a
(defun starttls-available-p ()
"Say whether the STARTTLS programs are available."
- (executable-find (if starttls-use-gnutls
- starttls-gnutls-program
- starttls-program)))
+ (and (not (memq system-type '(windows-nt ms-dos)))
+ (executable-find (if starttls-use-gnutls
+ starttls-gnutls-program
+ starttls-program))))
(defalias 'starttls-any-program-available 'starttls-available-p)
(make-obsolete 'starttls-any-program-available 'starttls-available-p