* gnus-art.el (gnus-use-idna): Don't directly refer to the value of
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 5 Dec 2007 01:52:29 +0000 (01:52 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 5 Dec 2007 01:52:29 +0000 (01:52 +0000)
 idna-program in order to suppress byte compile warning issued by XEmacs that
 came to byte compile the default value section of defcustom forms recently.

* gnus-start.el (gnus-site-init-file): Don't directly refer to the value of
 installation-directory.

* message.el (message-use-idna): Don't directly refer to the value of
 idna-program.

* mm-uu.el (mm-uu-hide-markers): Don't directly call defined-colors.

* smiley.el (smiley-style): Don't directly call face-attribute.

lisp/ChangeLog
lisp/gnus-art.el
lisp/gnus-start.el
lisp/message.el
lisp/mm-uu.el
lisp/smiley.el

index 079a7d5..d28d2d5 100644 (file)
@@ -1,3 +1,20 @@
+2007-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-use-idna): Don't directly refer to the value of
+       idna-program in order to suppress byte compile warning issued by XEmacs
+       that came to byte compile the default value section of defcustom forms
+       recently.
+
+       * gnus-start.el (gnus-site-init-file): Don't directly refer to the
+       value of installation-directory.
+
+       * message.el (message-use-idna): Don't directly refer to the value of
+       idna-program.
+
+       * mm-uu.el (mm-uu-hide-markers): Don't directly call defined-colors.
+
+       * smiley.el (smiley-style): Don't directly call face-attribute.
+
 2007-12-04  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gnus-group.el (gnus-group-highlight-line): Add FIXME.
index 8dd0aaa..2ec1fcf 100644 (file)
@@ -1601,7 +1601,7 @@ It is a string, such as \"PGP\". If nil, ask user."
 
 (defcustom gnus-use-idna (and (condition-case nil (require 'idna) (file-error))
                              (mm-coding-system-p 'utf-8)
-                             (executable-find idna-program))
+                             (executable-find (symbol-value 'idna-program)))
   "Whether IDNA decoding of headers is used when viewing messages.
 This requires GNU Libidn, and by default only enabled if it is found."
   :version "22.1"
index 144e884..6e55062 100644 (file)
@@ -80,7 +80,7 @@ If a file with the `.el' or `.elc' suffixes exists, it will be read instead."
 (defcustom gnus-site-init-file
   (condition-case nil
       (concat (file-name-directory
-              (directory-file-name installation-directory))
+              (directory-file-name (symbol-value 'installation-directory)))
              "site-lisp/gnus-init")
     (error nil))
   "The site-wide Gnus Emacs-Lisp startup file name, or nil if none.
index c9d9395..152872c 100644 (file)
@@ -1600,7 +1600,7 @@ no, only reply back to the author."
 (defcustom message-use-idna (and (condition-case nil (require 'idna)
                                   (file-error))
                                 (mm-coding-system-p 'utf-8)
-                                (executable-find idna-program)
+                                (executable-find (symbol-value 'idna-program))
                                 (string= (idna-to-ascii "räksmörgås")
                                          "xn--rksmrgs-5wao1o")
                                 t)
index 693fe73..bc182be 100644 (file)
@@ -236,7 +236,7 @@ To disable dissecting shar codes, for instance, add
 ;; 21 and XEmacs don't support it.
 (defcustom mm-uu-hide-markers
   (< 16 (or (and (fboundp 'defined-colors)
-                (length (defined-colors)))
+                (length (eval '(defined-colors))))
            (and (fboundp 'device-color-cells)
                 (device-color-cells))
            0))
index b0f1948..2e30101 100644 (file)
@@ -62,7 +62,7 @@
 
 (defcustom smiley-style
   (if (or (and (fboundp 'face-attribute)
-              (>= (face-attribute 'default :height) 160))
+              (>= (eval '(face-attribute 'default :height)) 160))
          (and (fboundp 'face-height)
               (>= (face-height 'default) 14)))
       'medium