From: Thien-Thi Nguyen Date: Wed, 8 Mar 2017 08:36:06 +0000 (+0100) Subject: [doc elisp] Add some index entries for "old" advice mechanism X-Git-Tag: emacs-26.0.90~613 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be924d77e93c921ab2c2563f1045b6dbe49c611e;p=emacs.git [doc elisp] Add some index entries for "old" advice mechanism * doc/lispref/functions.texi (Porting old advice): Add one @cindex and two @findex entries. --- diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 81e3eee10cf..283f74ff5d2 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -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