From: Lars Magne Ingebrigtsen Date: Wed, 30 Mar 2011 16:09:31 +0000 (+0200) Subject: Only do the defcustom compilation thing on XEmacs, where it seems to be needed. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=d1ab5358b3fac6fd9885eb03a3a8d7e2602f3bd1 Only do the defcustom compilation thing on XEmacs, where it seems to be needed. --- diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el index a8783cd19..d758100ee 100644 --- a/lisp/dgnushack.el +++ b/lisp/dgnushack.el @@ -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)))