]> git.eshelyaron.com Git - emacs.git/commit
Test for byte-compiler warning "variable lacks prefix"
authorStefan Kangas <stefan@marxist.se>
Sun, 22 Nov 2020 06:19:11 +0000 (07:19 +0100)
committerStefan Kangas <stefan@marxist.se>
Sun, 22 Nov 2020 06:19:11 +0000 (07:19 +0100)
commit9490f12c4dc4deb16f4e900646319f6de033982c
treee6d5264ae011226fa458406702c0a39aeb4d8fa4
parentb6339fc19c378d66ce1bc53499552dfaa3c0c8c0
Test for byte-compiler warning "variable lacks prefix"

* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp--with-warning-test): New macro.
(bytecomp-warn-wrong-args, bytecomp-warn-wrong-args-subr):
Use above new macro.
(bytecomp-warn-variable-lacks-prefix): New test.
test/lisp/emacs-lisp/bytecomp-tests.el