emacs/lisp/emacs-lisp
Glenn Morris 76f2c57691 (elint): New custom group.
(elint-log-buffer): Make it a defcustom.
(elint-scan-preloaded, elint-ignored-warnings)
(elint-directory-skip-re): New options.
(elint-builtin-variables): Doc fix.
(elint-preloaded-env): New variable.
(elint-unknown-builtin-args): Add an entry for encode-time.
(elint-extra-errors): Make it a variable rather than a constant.
(elint-preloaded-skip-re): New constant.
(elint-directory): Skip files matching elint-directory-skip-re.
(elint-features): New variable, local to linted buffers.
(elint-update-env): Initialize elint-features.  Possibly add
elint-preloaded-env to the buffer's environment.
(elint-get-top-forms): Bind elint-current-pos, for log messages.
Skip quoted forms.
(elint-init-form): New function, extracted from elint-init-env.
Make non-list forms a warning rather than an error.
Add the mode-map for define-derived-mode.  Handle define-minor-mode,
easy-menu-define, put that adds an error-condition, and provide.
When requiring cl, also require cl-macs.  Really require cl, to handle
some cl macros.  Store required libraries in the list elint-features,
so as not to re-load them.  Treat cc-require like require.
(elint-init-env): Call elint-init-form to do the work.
Handle eval-and-compile and such like.
(elint-add-required-env): Do not clear messages.
(elint-special-forms): Add handlers for function, defalias, if, when,
unless, and, or.
(elint-form): Add optional argument to ignore elint-special-forms,
useful to prevent recursive calls from handlers.  Doc fix.
Respect elint-ignored-warnings.
(elint-form): Respect elint-ignored-warnings.
(elint-bound-variable, elint-bound-function): New variables.
(elint-unbound-variable): Respect elint-bound-variable.
(elint-get-args): Respect elint-bound-function.
(elint-check-cond-form): Add some simple handling for (f)boundp and
featurep tests.
(elint-check-defalias-form): New handler.
(elint-check-let-form): Make an empty let a warning rather than an error.
(elint-check-setq-form): Make an empty setq a warning rather than an
error.  Respect elint-ignored-warnings.
(elint-check-defvar-form): Accept null doc-strings.
(elint-check-conditional-form): New handler.  Does some simple-minded
checking of featurep and (f)boundp tests.
(elint-put-function-args): New function.
(elint-initialize): Use elint-scan-doc-file rather than
elint-find-builtin-variables.  Use elint-put-function-args.
Possibly scan preloaded-file-list.
(elint-scan-doc-file): Rename from elint-find-builtin-variables and
extend to handle functions as well.
2009-09-22 02:28:28 +00:00
..
.gitignore Add .gitignore files 2009-02-03 23:32:38 +00:00
advice.el * emacs-lisp/advice.el (ad-get-argument, ad-set-argument): Doc 2009-09-19 20:06:54 +00:00
assoc.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
authors.el (authors-fixed-entries): Remove cvtmail. 2009-08-19 02:53:53 +00:00
autoload.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
avl-tree.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
backquote.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
benchmark.el * emacs-lisp/benchmark.el (benchmark): Reflow docstring. 2009-03-17 10:32:20 +00:00
bindat.el * emacs-lisp/bindat.el (bindat-pack): Allocate and set a string 2009-05-04 01:18:11 +00:00
byte-opt.el (degrees-to-radians): Mark as free from side effects. 2009-09-10 06:21:48 +00:00
byte-run.el (define-obsolete-face-alias): New macro. 2009-08-31 01:32:36 +00:00
bytecomp.el (byte-compile-form): Always check the function arguments, whether or 2009-09-17 07:29:43 +00:00
check-declare.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
checkdoc.el (checkdoc-force-history-flag): 2009-08-30 13:59:48 +00:00
cl-compat.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
cl-extra.el Unify local variables at end. 2009-08-25 06:52:09 +00:00
cl-indent.el Remove leading "*" from defcustom docs. 2009-06-22 06:27:00 +00:00
cl-loaddefs.el * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare. 2009-09-11 22:59:36 +00:00
cl-macs.el * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare. 2009-09-11 22:59:36 +00:00
cl-seq.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
cl-specs.el (defstruct): Fix :conc-name spec. 2009-06-27 22:09:39 +00:00
cl.el (cl-macro-environment): Don't define it here. 2009-08-30 14:18:59 +00:00
copyright.el (copyright-update): Save match-data across y-or-n-p, for safety. 2009-07-16 02:01:31 +00:00
crm.el (crm--choose-completion-string): New function. 2009-03-16 00:44:02 +00:00
cust-print.el Remove leading * from defcustom docs. 2009-07-21 04:40:17 +00:00
debug.el (debugger-setup-buffer): Make it multibyte. 2009-08-30 14:19:25 +00:00
derived.el (define-derived-mode): Fix paren typo in definition of abbrev table. 2009-09-18 07:14:43 +00:00
disass.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
easy-mmode.el (easy-mmode-defmap): Add doc-string. 2009-09-10 06:20:51 +00:00
easymenu.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
edebug.el (edebug-display, edebug-outside-excursion): 2009-08-28 04:12:49 +00:00
eldoc.el * emacs-lisp/eldoc.el (eldoc-function-argstring-format): 2009-01-24 11:34:57 +00:00
elint.el (elint): New custom group. 2009-09-22 02:28:28 +00:00
elp.el * emacs-lisp/elp.el (elp-not-profilable): Add more functions (Bug#4233). 2009-09-12 01:40:11 +00:00
ewoc.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
find-func.el (find-library-name, find-library): Doc fixes. 2009-02-11 02:25:06 +00:00
find-gc.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
float-sup.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
generic.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
gulp.el Kevin Ryde <user42 at zip.com.au> 2009-08-25 03:12:27 +00:00
helper.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
levents.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
lisp-mnt.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
lisp-mode.el (lisp-mode-syntax-table): Give it a doc-string. 2009-09-17 06:28:32 +00:00
lisp.el (lisp-complete-symbol): Use minibuffer-complete. 2009-08-30 21:45:36 +00:00
lmenu.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
lucid.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
macroexp.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
map-ynp.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
pp.el Remove leading * from defcustom docs. 2009-07-22 02:45:34 +00:00
re-builder.el * arc-mode.el (archive-mode): 2009-08-28 18:35:25 +00:00
regexp-opt.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
regi.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
ring.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
rx.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
shadow.el (shadows-compare-text-p): Remove leading * from defcustom doc. 2009-07-22 02:34:11 +00:00
sregex.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
syntax.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
tcover-ses.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
tcover-unsafep.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
testcover.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
timer.el Comment. 2009-09-02 03:17:18 +00:00
tq.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
trace.el Remove leading * from defcustom docs. 2009-07-22 02:45:34 +00:00
unsafep.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
warnings.el Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00