]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/advice.texi
Merge from trunk.
[gnu-emacs] / doc / lispref / advice.texi
index 57cfc616f23a790b7cc5a6cdc1b4a1d816eac4ce..ee1950a589a7c5605a88a38dfe4c9f71ab7cf391 100644 (file)
@@ -1,7 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004,
-@c   2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+@c Copyright (C) 1998-1999, 2001-2012  Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
 @setfilename ../../info/advising
 @node Advising Functions, Debugging, Byte Compilation, Top
@@ -603,11 +602,11 @@ for that function.
 
   A more robust method is to use macros that are translated into the
 proper access forms at activation time, i.e., when constructing the
-advised definition.  Access macros access actual arguments by position
-regardless of how these actual arguments get distributed onto the
-argument variables of a function.  This is robust because in Emacs Lisp
-the meaning of an argument is strictly determined by its position in the
-argument list.
+advised definition.  Access macros access actual arguments by their
+(zero-based) position, regardless of how these actual arguments get
+distributed onto the argument variables of a function.  This is robust
+because in Emacs Lisp the meaning of an argument is strictly
+determined by its position in the argument list.
 
 @defmac ad-get-arg position
 This returns the actual argument that was supplied at @var{position}.
@@ -777,7 +776,3 @@ pieces of advice is the same.  The only difference is that
 executed even if some previous piece of advice had an error or a
 non-local exit.  If any around-advice is protected, then the whole
 around-advice onion is protected as a result.
-
-@ignore
-   arch-tag: 80c135c2-f1c3-4f8d-aa85-f8d8770d307f
-@end ignore