]> git.eshelyaron.com Git - emacs.git/commit
Test warning suppressions with lexical binding
authorMattias Engdegård <mattiase@acm.org>
Mon, 6 Jun 2022 08:47:42 +0000 (10:47 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 6 Jun 2022 08:54:30 +0000 (10:54 +0200)
commit138d2f22f731bc3faf6de26b67e2b50ce9131541
tree395eb9285ce32b29bc5e7c2a32fa2c7c99fae4f6
parent3cbdd5914658f39f53baaeaf6a0aadfa534c02e8
Test warning suppressions with lexical binding

* test/lisp/emacs-lisp/bytecomp-tests.el
(test-byte-comp-compile-and-load): Add lexical cookie to file being
compiled as part of the test.
(bytecomp-test--with-suppressed-warnings): Comment out the test
for suppressing warnings when attempting to let-bind `nil`,
as that (1) doesn't work and (2) is a silly thing to do anyway.
test/lisp/emacs-lisp/bytecomp-tests.el