Function: elint-check-defcustom-form
elint-check-defcustom-form is a byte-compiled function defined in
elint.el.gz.
Signature
(elint-check-defcustom-form FORM ENV)
Documentation
Lint the defcustom FORM in ENV.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/elint.el.gz
(defun elint-check-defcustom-form (form env)
"Lint the defcustom FORM in ENV."
(if (and (> (length form) 3)
;; even no. of keyword/value args ?
(zerop (logand (length form) 1)))
(elint-env-add-global-var (elint-form (nth 2 form) env)
(car (cdr form)))
(elint-error "Malformed variable declaration: %s" form)
env))