Commit 8f30779d authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

starttls.el (starttls-available-p): Return nil on Windows/MS-DOS systems,...

starttls.el (starttls-available-p): Return nil on Windows/MS-DOS systems, since these allegedly don't work there.
parent 04482335
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
......
......@@ -297,9 +297,10 @@ GnuTLS requires a port number."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment