From 65fa10162106dff75e953f9f7675dfe73c92452d Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Fri, 28 Feb 2014 18:06:04 +0800 Subject: [PATCH] * doc/lispref/functions.texi (Advising Functions): Tweak markup. --- doc/lispref/ChangeLog | 2 ++ doc/lispref/functions.texi | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index b7148b92186..40a07339b2f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,5 +1,7 @@ 2014-02-28 Xue Fuqiao + * functions.texi (Advising Functions): Tweak markup. + * display.texi (Defining Faces): Doc fix for `face-spec-set'. * elisp.texi (Top): diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index b38eab2649a..cd7131564ea 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -1170,9 +1170,9 @@ there are many different ways to do it. The added function is also called an @emph{advice}. The function cell of a symbol can be manipulated similarly, but since it can -contain other things than a plain function, you have to use @var{advice-add} -and @var{advice-remove} instead, which -@c use @var{add-function} and @var{remove-function} internally, but +contain other things than a plain function, you have to use @code{advice-add} +and @code{advice-remove} instead, which +@c use @code{add-function} and @code{remove-function} internally, but know how to handle cases such as when the function cell holds a macro rather than function, or when the function is autoloaded so the advice's activation needs to be postponed. -- 2.39.2