]> git.eshelyaron.com Git - emacs.git/commit
Run ERT tests with `lexical-binding` bound to `t`
authorMattias Engdegård <mattiase@acm.org>
Mon, 4 Oct 2021 16:11:40 +0000 (18:11 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 4 Oct 2021 16:11:40 +0000 (18:11 +0200)
commit0f2df365592636aaa6bcd72fc662774eb35c69d1
tree54bcbcbcc279007398b4a445aafbb2557643874a
parent10e3bc610b48c18ba5b4a2859a9621a2ee96be48
Run ERT tests with `lexical-binding` bound to `t`

* lisp/emacs-lisp/ert.el (ert-deftest, ert--run-test-internal):
Use t rather than the ambient file value for `lexical-binding` to
avoid bad lexbind coverage by mistake.
lisp/emacs-lisp/ert.el