summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.el
Commit message (Collapse)AuthorAgeFilesLines
* Don't quote nil and t in doc stringsPaul Eggert2015-05-211-1/+1
| | | | | This is as per "Tips for Documentation Strings" in the elisp manual. For consistency, do the same in diagnostics and comments.
* * lisp/emacs-lisp/check-declare.el (check-declare-verify):Glenn Morris2015-05-041-2/+3
| | | | Handle cl-defgeneric, cl-defmethod.
* Silence some compilation warningsGlenn Morris2015-04-301-0/+2
| | | | | | | | | | * lisp/emacs-lisp/check-declare.el (compilation-forget-errors): * lisp/emulation/cua-base.el (delete-active-region): * lisp/net/net-utils.el (w32-get-console-output-codepage): * lisp/term/ns-win.el (ns-own-selection-internal) (ns-disown-selection-internal, ns-selection-owner-p) (ns-selection-exists-p, ns-get-selection): Declare for compiler..
* Spelling fixesPaul Eggert2015-03-031-1/+1
|
* check-declare.el: Use compilation-style warningsOleh Krehel2015-02-251-8/+32
| | | | | | | | | * lisp/emacs-lisp/check-declare.el (check-declare-warn): Add file-line-column info to the warning. (check-declare-files): Make sure that `check-declare-warning-buffer' is in `compilation-mode'. Make the order of the errors that same as in the file. Add code to ensure that `first-error' will work properly.
* check-declare.el (check-declare-ext-errors): New defcustom.Oleh Krehel2015-02-251-1/+10
| | | | | | | * emacs-lisp/check-declare.el (check-declare): New defgroup. (check-declare-verify): When `check-declare-ext-errors' is non-nil, warn about an unfound function, instead of saying "skipping external file".
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Comment fixGlenn Morris2012-04-201-2/+2
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Small check-declare fix.Glenn Morris2011-05-041-4/+6
| | | | | * lisp/emacs-lisp/check-declare.el (check-declare-scan): Handle byte-compile-initial-macro-environment in bytecomp.el
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-1/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (check-declare-scan): Read the declaration rather than parsing it as aGlenn Morris2009-10-011-23/+23
| | | | | | | regexp. This relaxes the layout requirements and makes errors easier to detect. (check-declare-verify): Check file is regular. (check-declare-directory): Doc fix.
* (check-declare-verify): Add basic defmethod and defclass, andGlenn Morris2009-09-291-4/+8
| | | | define-overloadable-function.
* (check-declare-locate): Remove pointless file-name-nondirectory callGlenn Morris2009-09-291-2/+2
| | | | | preventing location of cedet files. (check-declare-verify): Use literal search rather than re-search.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (check-declare-locate, check-declare-verify): Handle .m files.Glenn Morris2008-07-161-3/+3
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (check-declare-errmsg): Fix counting in the `full' case.Glenn Morris2008-04-291-1/+1
|
* (check-declare-directory): Use `find-program' andJuanma Barranquero2008-01-301-3/+4
| | | | `grep-program' instead of hardcoded program names.
* Add 2008 to copyright years.Glenn Morris2008-01-091-1/+1
|
* (check-declare-verify): Handle deffoo.Glenn Morris2007-12-111-1/+5
|
* (check-declare-scan): Doc fix.Glenn Morris2007-11-301-26/+31
| | | | | | Handle declare-function third argument `t' and fourth argument. (check-declare-verify): Doc fix. Handle `fileonly' case. Use progn rather than prog1.
* (check-declare-locate, check-declare-verify): Handle `external' files.Glenn Morris2007-11-291-19/+49
| | | | | | (check-declare-errmsg): New function. (check-declare-verify, check-declare-file, check-declare-directory): Use check-declare-errmsg to report the number of problems.
* (check-declare-locate): Reflow doc.Glenn Morris2007-11-281-7/+7
| | | | (check-declare-verify): Handle fset.
* (check-declare-locate): Handle compressed files.Glenn Morris2007-11-271-23/+40
| | | | | (check-declare-verify): Handle define-generic-mode, define-global(ized)-minor-mode, define-obsolete-function-alias.
* Comment.Glenn Morris2007-11-241-0/+2
|
* (check-declare-locate): New function.Glenn Morris2007-11-221-15/+20
| | | | | | (check-declare-scan): Use check-declare-locate. (check-declare-verify): No longer adjust fnfile, now check-declare-locate does it.
* (check-declare-verify): Fix previous change. Warn if could not findGlenn Morris2007-11-221-19/+29
| | | | an arglist to check.
* (check-declare-verify): Implement arglist checking for C files.Glenn Morris2007-11-221-7/+14
|
* (check-declare-scan): Expand .c files relative to src/ directory.Glenn Morris2007-11-221-52/+65
| | | | (check-declare-verify): Handle .c files (without arg checking).
* (check-declare-verify): Skip C files for now. HandleGlenn Morris2007-11-211-37/+53
| | | | define-minor-mode, and defalias (with no argument checking).
* (check-declare-verify): Tweak regexp for end of function-name. HandleGlenn Morris2007-11-201-4/+8
| | | | define-derived-mode.
* (check-declare-verify): If fnfile does not exist, try adding `.el'Glenn Morris2007-11-191-2/+9
| | | | extension. Also search for defsubsts.
* New file.Glenn Morris2007-11-171-0/+195