Mercurial > emacs
changeset 90429:e1bbe296602a
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 297-298)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-65
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 07 Jun 2006 19:42:49 +0000 |
parents | a8190f7e546e (current diff) 6f067fcb9161 (diff) |
children | 19bee54e2dfc |
files | lispref/ChangeLog lispref/compile.texi lispref/display.texi |
diffstat | 3 files changed, 11 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/ChangeLog Wed Jun 07 18:05:10 2006 +0000 +++ b/lispref/ChangeLog Wed Jun 07 19:42:49 2006 +0000 @@ -1,3 +1,11 @@ +2006-06-07 Eli Zaretskii <eliz@gnu.org> + + * display.texi (Font Selection): Remove description of + clear-face-cache. + + * compile.texi (Eval During Compile): Fix a typo. Add index + entries for possible uses of eval-when-compile. + 2006-06-04 Thien-Thi Nguyen <ttn@gnu.org> * display.texi (Abstract Display): Fix typo.
--- a/lispref/compile.texi Wed Jun 07 18:05:10 2006 +0000 +++ b/lispref/compile.texi Wed Jun 07 19:42:49 2006 +0000 @@ -435,15 +435,16 @@ you load the source file, rather than compiling it, @var{body} is evaluated normally. +@cindex compile-time constant If you have a constant that needs some calculation to produce, -@code{eval-when-compile} can do that done at compile-time. For -example, +@code{eval-when-compile} can do that at compile-time. For example, @lisp (defvar my-regexp (eval-when-compile (regexp-opt '("aaa" "aba" "abb")))) @end lisp +@cindex 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,
--- a/lispref/display.texi Wed Jun 07 18:05:10 2006 +0000 +++ b/lispref/display.texi Wed Jun 07 19:42:49 2006 +0000 @@ -2381,13 +2381,6 @@ allows the use of scalable fonts with registry @code{muleindian-2}. @end defvar -@defun clear-face-cache &optional unload-p -@tindex clear-face-cache -This function clears the face cache for all frames. -If @var{unload-p} is non-@code{nil}, that means to unload -all unused fonts as well. -@end defun - @defvar face-font-rescale-alist This variable specifies scaling for certain faces. Its value should be a list of elements of the form