summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-05-19 15:39:56 +0000
committerRichard M. Stallman <rms@gnu.org>2005-05-19 15:39:56 +0000
commit8cd567b8429eebce6918d1350ce53ee142230530 (patch)
tree9b3a1c2dbdb68b66e95a40862f7628a579bd3ec8 /lisp/emacs-lisp/byte-run.el
parentfe33e7c83c02477becbf965733d7d817c8ec331a (diff)
downloademacs-8cd567b8429eebce6918d1350ce53ee142230530.tar.gz
(eval-when-compile): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
-rw-r--r--lisp/emacs-lisp/byte-run.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 1472d576e49..7fc01901cfe 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -175,8 +175,9 @@ If you think you need this, you're probably making a mistake somewhere."
;;; 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)))