]> git.eshelyaron.com Git - emacs.git/commitdiff
[doc elisp] Add some index entries for "old" advice mechanism
authorThien-Thi Nguyen <ttn@gnu.org>
Wed, 8 Mar 2017 08:36:06 +0000 (09:36 +0100)
committerThien-Thi Nguyen <ttn@gnu.org>
Wed, 8 Mar 2017 08:37:01 +0000 (09:37 +0100)
* doc/lispref/functions.texi (Porting old advice):
Add one @cindex and two @findex entries.

doc/lispref/functions.texi

index 81e3eee10cf6f9507de6bba75315f33f8f985c01..283f74ff5d2c7734ad3ad94a654dee3a0f39e0fd 100644 (file)
@@ -1862,6 +1862,13 @@ More specifically, the composition of the two functions behaves like:
 @node Porting old advice
 @subsection Adapting code using the old defadvice
 @cindex old advices, porting
+@c NB: The following index entries deliberately avoid ``old'',
+@c an adjective that does not come to mind for those who grew up
+@c on ‘defadvice’ et al.  For those folks, that way is ``current''.
+@c They discover its oldness reading this node.
+@cindex advices, porting from @code{defadvice}
+@findex defadvice
+@findex ad-activate
 
 A lot of code uses the old @code{defadvice} mechanism, which is largely made
 obsolete by the new @code{advice-add}, whose implementation and semantics is