Gnus development mailing list
 help / color / mirror / Atom feed
* starttls-any-program-available missing
@ 2011-08-12  9:07 Simon Josefsson
  2011-08-12  9:21 ` Noorul Islam
  2011-08-18  0:22 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Josefsson @ 2011-08-12  9:07 UTC (permalink / raw)
  To: ding

Is running Gnus from git master together with Emacs 23.2 supported?

I got an error from smtpmail.el (from Emacs) that
starttls-any-program-available is not available, and indeed it was
recently removed from starttls.el in Gnus.  Something like the patch
below should work, I think?

/Simon

2011-08-12  Simon Josefsson  <simon@josefsson.org>

	* starttls.el (starttls-any-program-available): Define as obsolete
	function.

diff --git a/lisp/starttls.el b/lisp/starttls.el
index c1caca9..b995f74 100644
--- a/lisp/starttls.el
+++ b/lisp/starttls.el
@@ -301,6 +301,10 @@ GNUTLS requires a port number."
 		       starttls-gnutls-program
 		     starttls-program)))
 
+(defalias 'starttls-any-program-available 'starttls-available-p)
+(make-obsolete 'starttls-any-program-available 'starttls-available-p
+	       "2011-08-02")
+
 (provide 'starttls)
 
 ;;; starttls.el ends here



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-18  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-12  9:07 starttls-any-program-available missing Simon Josefsson
2011-08-12  9:21 ` Noorul Islam
2011-08-18  0:22 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).