Commit 436b88bf authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

"Advice" is a mass noun. Amend text accordingly.

cl.texi (Obsolete Macros): Replace "an advice" with "advice".
parent c3a2c35f
2014-12-15 Alan Mackenzie <acm@muc.de>
"Advice" is a mass noun. Amend text accordingly.
* cl.texi (Obsolete Macros): Replace "an advice" with "advice".
2014-12-12 Paul Eggert <eggert@cs.ucla.edu>
* texinfo.tex: Update from gnulib.
......
......@@ -4914,7 +4914,7 @@ through the Lisp @code{message} function.
For those cases where the dynamic scoping of @code{flet} is desired,
@code{cl-flet} is clearly not a substitute. The most direct replacement would
be instead to use @code{cl-letf} to temporarily rebind @code{(symbol-function
'@var{fun})}. But in most cases, a better substitute is to use an advice, such
'@var{fun})}. But in most cases, a better substitute is to use advice, such
as:
@example
......@@ -4930,7 +4930,7 @@ binding of @code{my-fun-advice-enable}.
@c Bug#411.
Note that many primitives (e.g., @code{+}) have special byte-compile handling.
Attempts to redefine such functions using @code{flet}, @code{cl-letf}, or an
Attempts to redefine such functions using @code{flet}, @code{cl-letf}, or
advice will fail when byte-compiled.
@c Or cl-flet.
@c In such cases, use @code{labels} instead.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment