[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 436b88b 2/3: "Advice" is a mass noun. Amend text ac
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] master 436b88b 2/3: "Advice" is a mass noun. Amend text accordingly. |
Date: |
Mon, 15 Dec 2014 13:54:06 +0000 |
branch: master
commit 436b88bf9960c97f4588d8e3d9c0c353e7898792
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>
"Advice" is a mass noun. Amend text accordingly.
cl.texi (Obsolete Macros): Replace "an advice" with "advice".
---
doc/misc/ChangeLog | 5 +++++
doc/misc/cl.texi | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 83cdbc6..297bfd2 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-15 Alan Mackenzie <address@hidden>
+
+ "Advice" is a mass noun. Amend text accordingly.
+ * cl.texi (Obsolete Macros): Replace "an advice" with "advice".
+
2014-12-12 Paul Eggert <address@hidden>
* texinfo.tex: Update from gnulib.
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index c15918a..21188af 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.