[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/compile.texi,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/compile.texi,v |
Date: |
Wed, 07 Jun 2006 17:53:03 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 06/06/07 17:53:03
Index: compile.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/compile.texi,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- compile.texi 7 May 2006 16:02:26 -0000 1.27
+++ compile.texi 7 Jun 2006 17:53:03 -0000 1.28
@@ -435,15 +435,16 @@
you load the source file, rather than compiling it, @var{body} is
evaluated normally.
address@hidden compile-time constant
If you have a constant that needs some calculation to produce,
address@hidden can do that done at compile-time. For
-example,
address@hidden can do that at compile-time. For example,
@lisp
(defvar my-regexp
(eval-when-compile (regexp-opt '("aaa" "aba" "abb"))))
@end lisp
address@hidden macros, at compile time
If you're using another package, but only need macros from it (the
byte compiler will expand those), then @code{eval-when-compile} can be
used to load it for compiling, but not executing. For example,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/compile.texi,v,
Eli Zaretskii <=