From: Alan Mackenzie Date: Mon, 15 Dec 2014 12:04:52 +0000 (+0000) Subject: "Advice" is a mass noun. Amend text accordingly. X-Git-Tag: emacs-25.0.90~2635^2~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=436b88bf9960c97f4588d8e3d9c0c353e7898792;p=emacs.git "Advice" is a mass noun. Amend text accordingly. cl.texi (Obsolete Macros): Replace "an advice" with "advice". --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 83cdbc63529..297bfd2bc88 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-15 Alan Mackenzie + + "Advice" is a mass noun. Amend text accordingly. + * cl.texi (Obsolete Macros): Replace "an advice" with "advice". + 2014-12-12 Paul Eggert * texinfo.tex: Update from gnulib. diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index c15918afc4e..21188af8bb7 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -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.