From: Xue Fuqiao Date: Fri, 28 Feb 2014 10:06:04 +0000 (+0800) Subject: * doc/lispref/functions.texi (Advising Functions): Tweak markup. X-Git-Tag: emacs-24.3.90~343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=65fa10162106dff75e953f9f7675dfe73c92452d;p=emacs.git * doc/lispref/functions.texi (Advising Functions): Tweak markup. --- 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.