check-declare.el: Use compilation-style warnings
commit383722dee79aee1dd0b9def6a2af6649b26f5687
authorOleh Krehel <ohwoeowho@gmail.com>
Fri, 13 Feb 2015 13:59:31 +0000 (13 14:59 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 25 Feb 2015 11:10:40 +0000 (25 12:10 +0100)
tree26b1a5ced35f532bbafca44b7135395b85a65604
parent26b2e9aa4d022fbd13e7878dab6a1df51eddebc5
check-declare.el: Use compilation-style warnings

* 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.
lisp/ChangeLog
lisp/emacs-lisp/check-declare.el