Function: elint-defun

elint-defun is an autoloaded, interactive and byte-compiled function defined in elint.el.gz.

Signature

(elint-defun)

Documentation

Lint the function at point.

If necessary, this first calls elint-initialize.

Probably introduced at or before Emacs version 20.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/elint.el.gz
;;;###autoload
(defun elint-defun ()
  "Lint the function at point.
If necessary, this first calls `elint-initialize'."
  (interactive)
  (or elint-builtin-variables
      (elint-initialize))
  (save-excursion
    (or (beginning-of-defun) (error "Lint what?"))
    (let ((pos (point))
	  (def (read (current-buffer))))
      (elint-display-log)
      (elint-update-env)
      (elint-top-form (elint-make-top-form def pos)))))