]> git.eshelyaron.com Git - emacs.git/commit
(elint-standard-variables): Remove most members,
authorGlenn Morris <rgm@gnu.org>
Thu, 23 Jul 2009 02:54:39 +0000 (02:54 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 23 Jul 2009 02:54:39 +0000 (02:54 +0000)
commite2d5a67f9eaaa59723bd9a8cbf4e93c29a7aca0f
tree6b64160e8275b9dfe6be1f4501ca39cedae86bc2
parent4b94906242f32ccb2567f66a62dd6cea0db1a9e1
(elint-standard-variables): Remove most members,
since the next two variables cover them automatically now.
(elint-builtin-variables, elint-autoloaded-variables): New.
(elint-unknown-builtin-args): Remove all members, since they can be
parsed automatically now.
(elint-extra-errors): New.
(elint-env-add-env, elint-env-add-macro): Use cadr.
(elint-current-buffer): Use or.  Change final message.
(elint-get-top-forms): Use line-end-position.
(elint-init-env): Use cadr.  Handle autoload, declare-function,
and defalias.
(elint-add-required-env): Doc fix.  Use or.  Standardize error.
(regexp-assoc): Remove unused function.
(elint-top-form): Set elint-current-pos, to record the start of the
top-level form, for compilation-mode.
(elint-form): Trap errors in macro expansion.  Use dolist.
(elint-unbound-variable): Use elint-builtin-variables and
elint-autoloaded-variables.
(elint-get-args): Use cadr, or.
(elint-check-cond-form): Use dolist, cadr.
(elint-check-condition-case-form): Doc fix.  Use cadr.
Use elint-extra-errors.
(elint-log): New function.
(elint-error, elint-warning): Use elint-log for a bytecomp-style format.
Distinguish errors and warnings.
(elint-log-message): Use with-current-buffer.  Inhibit read-only.
Use a bytecomp-style format.
(elint-clear-log): Preserve default-directory.  Inhibit read-only.
(elint-get-log-buffer): Use compilation mode.  Disable undo.
Don't truncate lines.
(elint-initialize): Set builtin and autoloaded variable lists.
Only process elint-unknown-builtin-args if non-nil.
(elint-find-builtin-variables, elint-find-autoloaded-variables):
New functions.
(elint-find-builtin-args): Doc fix.  Handle "BODY...)".
lisp/emacs-lisp/elint.el