From: Stefan Monnier Date: Sun, 26 Jun 2022 17:15:15 +0000 (-0400) Subject: (oclosure-test-limits): Fix test failure when interpreted X-Git-Tag: emacs-29.0.90~1447^2~1440 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d3893d7e8e20b392e531f00981191138e26d8bff;p=emacs.git (oclosure-test-limits): Fix test failure when interpreted * test/lisp/emacs-lisp/oclosure-tests.el (oclosure-test-limits): Make sure we bind `byte-compile-debug` dynamically. --- diff --git a/test/lisp/emacs-lisp/oclosure-tests.el b/test/lisp/emacs-lisp/oclosure-tests.el index b3a921826b1..00b008845c0 100644 --- a/test/lisp/emacs-lisp/oclosure-tests.el +++ b/test/lisp/emacs-lisp/oclosure-tests.el @@ -69,6 +69,7 @@ )) (ert-deftest oclosure-test-limits () + (defvar byte-compile-debug) (should (condition-case err (let ((lexical-binding t)