emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 491531b: Avoid ert test failures


From: Glenn Morris
Subject: [Emacs-diffs] master 491531b: Avoid ert test failures
Date: Tue, 18 Apr 2017 12:52:41 -0400 (EDT)

branch: master
commit 491531b20d05a0f2cc747aa01e697a764c34a99d
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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
---
 lisp/emacs-lisp/ert.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 7eaf33a..f4c61e6 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]