changeset 62520:ee08cd4e1bf0

(eval-when-compile): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 May 2005 15:39:56 +0000
parents ad1a92f77517
children 91bf7b558b82
files lisp/emacs-lisp/byte-run.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)))