* doc/lispref/functions.texi (Advising Functions): Tweak markup.
authorXue Fuqiao <xfq@gnu.org>
Fri, 28 Feb 2014 10:06:04 +0000 (18:06 +0800)
committerXue Fuqiao <xfq@gnu.org>
Fri, 28 Feb 2014 10:06:04 +0000 (18:06 +0800)
doc/lispref/ChangeLog
doc/lispref/functions.texi

index b7148b9..40a0733 100644 (file)
@@ -1,5 +1,7 @@
 2014-02-28  Xue Fuqiao  <xfq@gnu.org>
 
+       * functions.texi (Advising Functions): Tweak markup.
+
        * display.texi (Defining Faces): Doc fix for `face-spec-set'.
 
        * elisp.texi (Top):
index b38eab2..cd71315 100644 (file)
@@ -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.