chiark / gitweb /
base: compile-time-defun should define in the interpreter.
[lisp] / mdw-base.lisp
index 8ba9a24bf7130c6f71bd04570d9f9e57eb42701b..73f85e73d95f0bfd84f9371d6d2c0783ab72c888 100644 (file)
@@ -57,7 +57,7 @@ (deftype unsigned-fixnum ()
 (defmacro compile-time-defun (name args &body body)
   "Define a function which can be used by macros during the compilation
    process."
-  `(eval-when (:compile-toplevel :load-toplevel)
+  `(eval-when (:compile-toplevel :load-toplevel :execute)
      (defun ,name ,args ,@body)))
 
 (defmacro show (x)