From 3c4be1f2710ba8311d45cebe5be94952acac92a6 Mon Sep 17 00:00:00 2001 From: Glenn Morris <rgm@gnu.org> Date: Thu, 23 Oct 2008 02:38:38 +0000 Subject: [PATCH] (Function Bindings): Mention `flet' fails to deal with byte-compiling things like `+'. --- doc/misc/ChangeLog | 10 ++++++++++ doc/misc/cl.texi | 5 +++++ 2 files changed, 15 insertions(+) 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 <rgm@gnu.org> + + * 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 <dominik@science.uva.nl> * 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*}. -- 2.39.5