changeset 103091:0062b68a76c3

Use dns-query instead of query-dns. Was renamed on 2008-12-25 in dns.el.
author Reiner Steib <Reiner.Steib@gmx.de>
date Tue, 28 Apr 2009 16:57:53 +0000
parents 60e16972e785
children 117774377c3c
files lisp/gnus/ChangeLog lisp/gnus/spam.el
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Tue Apr 28 10:35:41 2009 +0000
+++ b/lisp/gnus/ChangeLog	Tue Apr 28 16:57:53 2009 +0000
@@ -1,3 +1,8 @@
+2009-04-28  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* spam.el: Use dns-query instead of query-dns.  Was renamed on
+	2008-12-25 in dns.el.
+
 2009-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* rfc2047.el (rfc2047-decode-region): Don't skip past `start', which
--- a/lisp/gnus/spam.el	Tue Apr 28 10:35:41 2009 +0000
+++ b/lisp/gnus/spam.el	Tue Apr 28 16:57:53 2009 +0000
@@ -73,8 +73,8 @@
 (autoload 'gnus-registry-store-extra-entry "gnus-registry")
 (autoload 'gnus-registry-fetch-extra "gnus-registry")
 
-;; autoload query-dns
-(autoload 'query-dns "dns")
+;; autoload dns-query
+(autoload 'dns-query "dns")
 
 ;;}}}
 
@@ -173,7 +173,7 @@
   :group 'spam)
 
 (defcustom spam-use-dig t
-  "Whether `query-dig' should be used instead of `query-dns'."
+  "Whether `query-dig' should be used instead of `dns-query'."
   :type 'boolean
   :group 'spam)
 
@@ -2038,9 +2038,9 @@
 			(push (list ip server query-result)
 			      matches)))
 		  ;; else, if not using dig.el
-		  (when (query-dns query-string)
+		  (when (dns-query query-string)
 		    (gnus-message 6 "positive blackhole check")
-		    (push (list ip server (query-dns query-string 'TXT))
+		    (push (list ip server (dns-query query-string 'TXT))
 			  matches)))))))))
     (when matches
       spam-split-group)))