summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/language/elisp/boot.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/language/elisp/boot.el b/module/language/elisp/boot.el
index 4e8347f2f..e6d3994fa 100644
--- a/module/language/elisp/boot.el
+++ b/module/language/elisp/boot.el
@@ -790,3 +790,7 @@
(defun %set-eager-macroexpansion-mode (ignore)
nil)
+
+(%define-compiler-macro require (form)
+ `(eval-when (:compile-toplevel :load-toplevel :execute)
+ (funcall #'require ,@(cdr form))))