From: Glenn Morris Date: Thu, 23 Oct 2008 02:38:38 +0000 (+0000) Subject: (Function Bindings): Mention `flet' fails to deal with byte-compiling X-Git-Tag: emacs-pretest-23.0.90~2237 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c4be1f2710ba8311d45cebe5be94952acac92a6;p=emacs.git (Function Bindings): Mention `flet' fails to deal with byte-compiling things like `+'. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index a244fba1548..10625b3facc 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,13 @@ +2008-10-23 Glenn Morris + + * cl.texi (Function Bindings): Mention `flet' fails to deal with + byte-compiling things like `+'. + + * ns-emacs.texi: Merge copyright years of author now with assignment + into FSF years. + (VER): Use it for easier automatic updating. Use Emacs version rather + than standalone Emacs.app version. + 2008-10-12 Carsten Dominik * org.texi: Lots of minor fixes. diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index b31fce71921..5d89d02d77e 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -1732,6 +1732,11 @@ generated directly inside Emacs will not be caught since they make direct C-language calls to the message routines rather than going through the Lisp @code{message} function. +@c Bug#411. +Also note that many primitives (e.g. @code{+}) have special byte-compile +handling. Attempts to redefine such functions using @code{flet} will +fail if byte-compiled. In such cases, use @code{labels} instead. + Functions defined by @code{flet} may use the full Common Lisp argument notation supported by @code{defun*}; also, the function body is enclosed in an implicit block as if by @code{defun*}.