Changes committed gnus/lisp (ChangeLog starttls.el)

"Ted Zlatanov" <[email protected]> Tue, 04 Nov 2008 17:49:42 +0100
Newsgroups gmane.emacs.gnus.commits
Message-ID <[email protected]>
Modified: ChangeLog starttls.el

(starttls-any-program-available): Rewritten so it doesn't require
itself and to remove `with-no-warnings'.


Index: ChangeLog
diff -u gnus/lisp/ChangeLog:7.1928 gnus/lisp/ChangeLog:7.1929
--- ChangeLog:7.1928	Mon Nov  3 21:50:37 2008
+++ ChangeLog	Tue Nov  4 17:49:42 2008
@@ -1,3 +1,8 @@
+2008-11-04  Katsumi Yamaoka  <[email protected]>
+
+	* starttls.el (starttls-any-program-available): Rewritten so it doesn't
+	require itself and to remove `with-no-warnings'.
+
 2008-11-03  Teodor Zlatanov  <[email protected]>
 
 	* starttls.el (starttls-any-program-available): Get the name of the
Index: starttls.el
diff -u gnus/lisp/starttls.el:7.20 gnus/lisp/starttls.el:7.21
--- starttls.el:7.20	Mon Nov  3 21:50:37 2008
+++ starttls.el	Tue Nov  4 17:49:42 2008
@@ -301,12 +301,11 @@
 		     starttls-gnutls-program
 		   starttls-program)))
     (condition-case ()
-	(with-no-warnings
-	  (require 'starttls)
+	(progn
 	  (call-process program)
 	  program)
       (error (progn
-	       (message "No STARTTLS program was available (tried '%s')" 
+	       (message "No STARTTLS program was available (tried '%s')"
 			program)
 	       nil)))))