# HG changeset patch # User Richard M. Stallman # Date 1116517196 0 # Node ID ee08cd4e1bf0b0d28573eb14aed10c1049202f7e # Parent ad1a92f77517c9ead7b0cabebde28ce48f33574b (eval-when-compile): Doc fix. diff -r ad1a92f77517 -r ee08cd4e1bf0 lisp/emacs-lisp/byte-run.el --- a/lisp/emacs-lisp/byte-run.el Thu May 19 15:39:21 2005 +0000 +++ b/lisp/emacs-lisp/byte-run.el Thu May 19 15:39:56 2005 +0000 @@ -175,8 +175,9 @@ ;;; byte-compile-macro-environment. (defmacro eval-when-compile (&rest body) - "Like `progn', but evaluates the body at compile time. -The result of the body appears to the compiler as a quoted constant." + "Like `progn', but evaluates the body at compile time if you're compiling. +Thus, the result of the body appears to the compiler as a quoted constant. +In interpreted code, this is entirely equivalent to `progn'." (declare (debug t) (indent 0)) ;; Not necessary because we have it in b-c-initial-macro-environment ;; (list 'quote (eval (cons 'progn body)))