1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-08 23:40:24 -08:00
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
advice.el * emacs-lisp/advice.el (ad-get-argument, ad-set-argument): Doc 2009-09-19 20:06:54 +00:00
assoc.el
authors.el (authors-fixed-entries): Remove cvtmail. 2009-08-19 02:53:53 +00:00
autoload.el
avl-tree.el
backquote.el
benchmark.el
bindat.el
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
checkdoc.el (checkdoc-force-history-flag): 2009-08-30 13:59:48 +00:00
cl-compat.el
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
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
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
easy-mmode.el (easy-mmode-defmap): Add doc-string. 2009-09-10 06:20:51 +00:00
easymenu.el
edebug.el (edebug-display, edebug-outside-excursion): 2009-08-28 04:12:49 +00:00
eldoc.el
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
find-func.el
find-gc.el
float-sup.el
generic.el
gulp.el Kevin Ryde <user42 at zip.com.au> 2009-08-25 03:12:27 +00:00
helper.el
levents.el
lisp-mnt.el
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
lucid.el
macroexp.el
map-ynp.el
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
regi.el
ring.el
rx.el
shadow.el (shadows-compare-text-p): Remove leading * from defcustom doc. 2009-07-22 02:34:11 +00:00
sregex.el
syntax.el
tcover-ses.el
tcover-unsafep.el
testcover.el
timer.el Comment. 2009-09-02 03:17:18 +00:00
tq.el
trace.el Remove leading * from defcustom docs. 2009-07-22 02:45:34 +00:00
unsafep.el
warnings.el