Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8cd567b8
Commit
8cd567b8
authored
May 19, 2005
by
Richard M. Stallman
Browse files
(eval-when-compile): Doc fix.
parent
fe33e7c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/byte-run.el
+3
-2
No files found.
lisp/emacs-lisp/byte-run.el
View file @
8cd567b8
...
...
@@ -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)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment