"Advice" is a mass noun. Amend text accordingly.
cl.texi (Obsolete Macros): Replace "an advice" with "advice".
This commit is contained in:
parent
c3a2c35f1d
commit
436b88bf99
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue