changeset 99064:d3c8765b4701

(Function Bindings): Mention `flet' fails to deal with byte-compiling things like `+'.
author Glenn Morris <rgm@gnu.org>
date Thu, 23 Oct 2008 02:38:21 +0000
parents eec60dbfa1b8
children 14578ca4f716
files doc/misc/cl.texi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/misc/cl.texi	Thu Oct 23 02:36:41 2008 +0000
+++ b/doc/misc/cl.texi	Thu Oct 23 02:38:21 2008 +0000
@@ -1732,6 +1732,11 @@
 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*}.