Only do the defcustom compilation thing on XEmacs, where it seems to be needed.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 30 Mar 2011 16:09:31 +0000 (18:09 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 30 Mar 2011 16:10:38 +0000 (18:10 +0200)
lisp/dgnushack.el

index a8783cd..d758100 100644 (file)
@@ -250,7 +250,8 @@ in `defcustom' forms."
            (search-forward " 'foo '(byte-code " nil t))
        (kill-buffer outbuf)))))
 
-(when (dgnushack-emacs-compile-defcustom-p)
+(when (and (featurep 'xemacs)
+          (dgnushack-emacs-compile-defcustom-p))
   (maybe-fbind '(defined-colors face-attribute))
   (maybe-bind '(idna-program installation-directory)))