aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-05-19 15:39:56 +0000
committerRichard M. Stallman2005-05-19 15:39:56 +0000
commit8cd567b8429eebce6918d1350ce53ee142230530 (patch)
tree9b3a1c2dbdb68b66e95a40862f7628a579bd3ec8
parentfe33e7c83c02477becbf965733d7d817c8ec331a (diff)
downloademacs-8cd567b8429eebce6918d1350ce53ee142230530.tar.gz
emacs-8cd567b8429eebce6918d1350ce53ee142230530.zip
(eval-when-compile): Doc fix.
-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."
175;;; byte-compile-macro-environment. 175;;; byte-compile-macro-environment.
176 176
177(defmacro eval-when-compile (&rest body) 177(defmacro eval-when-compile (&rest body)
178 "Like `progn', but evaluates the body at compile time. 178 "Like `progn', but evaluates the body at compile time if you're compiling.
179The result of the body appears to the compiler as a quoted constant." 179Thus, the result of the body appears to the compiler as a quoted constant.
180In interpreted code, this is entirely equivalent to `progn'."
180 (declare (debug t) (indent 0)) 181 (declare (debug t) (indent 0))
181 ;; Not necessary because we have it in b-c-initial-macro-environment 182 ;; Not necessary because we have it in b-c-initial-macro-environment
182 ;; (list 'quote (eval (cons 'progn body))) 183 ;; (list 'quote (eval (cons 'progn body)))