diff options
author | Glenn Morris <rgm@gnu.org> | 2017-04-18 12:52:33 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-04-18 12:52:33 -0400 |
commit | 491531b20d05a0f2cc747aa01e697a764c34a99d (patch) | |
tree | fe2e7d29ed3c1e3a5023205671bd8bb84d6d7a5e /lisp/emacs-lisp | |
parent | 861824dbecc96339c68b1e15008a21c31e04721b (diff) | |
download | emacs-491531b20d05a0f2cc747aa01e697a764c34a99d.tar.gz emacs-491531b20d05a0f2cc747aa01e697a764c34a99d.tar.bz2 emacs-491531b20d05a0f2cc747aa01e697a764c34a99d.zip |
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
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 7eaf33a27dc..f4c61e625d8 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -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 |