diff options
| author | Richard M. Stallman | 2005-05-19 15:39:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-19 15:39:56 +0000 |
| commit | 8cd567b8429eebce6918d1350ce53ee142230530 (patch) | |
| tree | 9b3a1c2dbdb68b66e95a40862f7628a579bd3ec8 | |
| parent | fe33e7c83c02477becbf965733d7d817c8ec331a (diff) | |
| download | emacs-8cd567b8429eebce6918d1350ce53ee142230530.tar.gz emacs-8cd567b8429eebce6918d1350ce53ee142230530.zip | |
(eval-when-compile): Doc fix.
| -rw-r--r-- | lisp/emacs-lisp/byte-run.el | 5 |
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. |
| 179 | The result of the body appears to the compiler as a quoted constant." | 179 | Thus, the result of the body appears to the compiler as a quoted constant. |
| 180 | In 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))) |