Function: elint-check-function-form
elint-check-function-form is a byte-compiled function defined in
elint.el.gz.
Signature
(elint-check-function-form FORM ENV)
Documentation
Lint the function FORM in ENV.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/elint.el.gz
(defun elint-check-function-form (form env)
"Lint the function FORM in ENV."
(let ((func (car (cdr-safe form))))
(cond
((symbolp func)
(or (elint-env-find-func env func)
;; FIXME potentially bogus, since it uses the current
;; environment rather than a clean one.
(fboundp func)
(elint-warning "Reference to undefined function: %s" form))
env)
((and (consp func) (memq (car func) '(lambda macro)))
(elint-form func env))
((stringp func) env)
(t (elint-error "Not a function object: %s" form)
env))))