(gnus-use-idna): Use mm-coding-system-p.
authorDave Love <fx@gnu.org>
Thu, 24 Apr 2003 18:38:36 +0000 (18:38 +0000)
committerDave Love <fx@gnu.org>
Thu, 24 Apr 2003 18:38:36 +0000 (18:38 +0000)
lisp/gnus-art.el

index 173b96a..8c4b986 100644 (file)
@@ -1324,8 +1324,7 @@ It is a string, such as \"PGP\". If nil, ask user."
   "Function used for converting HTML into text.")
 
 (defcustom gnus-use-idna (and (condition-case nil (require 'idna) (file-error))
-                             (fboundp 'coding-system-p)
-                             (coding-system-p 'utf-8))
+                             (mm-coding-system-p 'utf-8))
   "Whether IDNA decoding of headers is used when viewing messages.
 This requires GNU Libidn, and by default only enabled if it is found."
   :group 'gnus-article-headers