On Tuesday, June 1, 2004 at 01:32:50, Matthieu Moy wrote:
> Hi!
> 
> Anyone knows the use of the code
> 
> (eval-when-compile
>   (condition-case ()
>       (require 'custom)
>     (error nil))
>   (if (and (featurep 'custom) (fboundp 'custom-declare-variable))()
>     (defmacro defgroup (&rest args)
>       nil)
>     (defmacro defcustom (var value doc &rest args)
>       `(defvar ,var ,value ,doc))
>     (defmacro defface (var value doc &rest args)
>       `(make-face ,var))
>     (defmacro define-widget (&rest args)
>       nil)))
> 
> Inserted by Makefile.in at the beginning of the generated autoloads
> file?

It was for compatibility with Emacsens not providing
custom.el, but IMHO we could remove it, as we are not
about to support old Emacsens .

 Robert

Reply via email to