]> code.delx.au - gnu-emacs/commit
‘make check-declare’ now chatters less
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 May 2016 07:48:35 +0000 (00:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 May 2016 07:49:30 +0000 (00:49 -0700)
commit07ebcf1bd964ae64446c52fb5481e919ed577358
treee7852c793a7126ba4aaba640bd93bca3072ba4a5
parentb4d1cddc1b238f0c53ef7eb52e7dcf3467d412ea
‘make check-declare’ now chatters less

* etc/NEWS: Document this.
* lisp/emacs-lisp/check-declare.el (check-declare-locate):
Return relative names, not absolute.
(check-declare-scan, check-declare-verify, check-declare-warn)
(check-declare-file, check-declare-directory):
Generate less chatter.  Use relative file names rather than
absolute.  Don’t give up on computing a good file name for a
diagnostic merely because the function name was bad.  Make
malformed declarations more noticeable.  Don’t warn about
"ext:..." declarations if check-declare-ext-errors is nil.
(check-declare-errmsg): Remove.
(check-declare-warn): New optional arg LINE.
(check-declare-files): Put status into mode line rather than
chattering.
etc/NEWS
lisp/emacs-lisp/check-declare.el