summaryrefslogtreecommitdiff
path: root/doc/misc/cl.texi
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-01-10 14:40:32 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2014-01-10 14:40:32 -0500
commit122ff675df692bab3b5b6409044b0f0e66bad82f (patch)
tree347d4d63e9037fb74c324319de223b23cf00d399 /doc/misc/cl.texi
parentcd6d07ece2278b315852e20f07cfea05bd5bd29b (diff)
downloademacs-122ff675df692bab3b5b6409044b0f0e66bad82f.tar.gz
* doc/lispref/functions.texi (Advising Functions): New section.
* doc/lispref/modes.texi (Running Hooks): Don't document with-wrapper-hook and run-hook-wrapped any more. (Hooks): Link to the new Advising Functions node. * doc/lispref/elisp.texi (Top): Don't include advice.texi. * doc/lispref/advice.texi: Remove. * doc/lispref/makefile.w32-in (srcs): * doc/lispref/Makefile.in (srcs): Adjust accordingly. * doc/misc/cl.texi (Function Bindings): Fix incorrect description of cl-let.
Diffstat (limited to 'doc/misc/cl.texi')
-rw-r--r--doc/misc/cl.texi9
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 08f9610e594..0490cf639ac 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -1282,13 +1282,8 @@ cells of symbols rather than on the value cells. Each @var{binding}
must be a list of the form @samp{(@var{name} @var{arglist}
@var{forms}@dots{})}, which defines a function exactly as if
it were a @code{cl-defun} form. The function @var{name} is defined
-accordingly for the duration of the body of the @code{cl-flet}; then
-the old function definition, or lack thereof, is restored.
-
-You can use @code{cl-flet} to disable or modify the behavior of
-functions (including Emacs primitives) in a temporary, localized fashion.
-(Compare this with the idea of advising functions.
-@xref{Advising Functions,,,elisp,GNU Emacs Lisp Reference Manual}.)
+accordingly but only within the body of the @code{cl-flet}, hiding any external
+definition if applicable.
The bindings are lexical in scope. This means that all references to
the named functions must appear physically within the body of the