1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

Avoid ert test failures

* lisp/emacs-lisp/ert.el (ert--expand-should-1):
Avoid errors related to undefined byte-compile-macro-environment.
Somehow masked until very recently because loading seq (eg)
loads bytecomp.  http://hydra.nixos.org/build/51730765
This commit is contained in:
Glenn Morris 2017-04-18 12:52:33 -04:00
parent 861824dbec
commit 491531b20d

View File

@ -275,6 +275,7 @@ DATA is displayed to the user and should state the reason for skipping."
(defun ert--expand-should-1 (whole form inner-expander)
"Helper function for the `should' macro and its variants."
(require 'bytecomp) ; FIXME?
(let ((form
(macroexpand form (append byte-compile-macro-environment
(cond