Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4b1ed1bb
Commit
4b1ed1bb
authored
Aug 15, 2009
by
Chong Yidong
Browse files
* advice.texi (Argument Access in Advice): Note that argument
positions are zero-based (Bug#3932).
parent
84b17ab0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+3
-0
doc/lispref/advice.texi
doc/lispref/advice.texi
+5
-5
No files found.
doc/lispref/ChangeLog
View file @
4b1ed1bb
2009-08-15 Chong Yidong <cyd@stupidchicken.com>
* advice.texi (Argument Access in Advice): Note that argument
positions are zero-based (Bug#3932).
* commands.texi (Distinguish Interactive): Minor copyedit.
* display.texi (Face Attributes): Add xref to Displaying Faces for
...
...
doc/lispref/advice.texi
View file @
4b1ed1bb
...
...
@@ -603,11 +603,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}.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment