Le 23 juil. 2012 à 15:22, Eric Blake a écrit :

>> * doc/autoconf.texi (@dvarv): New.
>> Use it where optional macro arguments default to other arguments.
>> ---
>> doc/autoconf.texi | 18 +++++++++++++-----
>> 1 file changed, 13 insertions(+), 5 deletions(-)
> 
> ACK with one tweak.  Do you still have push rights, or do I need to help
> out?

It worked!

>> +@c @dvarv(ARG, DEFAULT-VAR)
>> +@c ------------------------
>> +@c Same as @dvar{ARG, @var{DEFAULT-VAR}}, but with the superfluous
>> +@c @samp around DEFAULT-VAR.
> 
> s/with the superfluous @samp/with @var instead of @samp/

It should have read "without", sorry.  Installed as follows:

@c @dvarv(ARG, DEFAULT-VAR)
@c ------------------------
@c Same as @dvar{ARG, DEFAULT-VAR}, but with @var instead of @samp
@c around DEFAULT-VAR.
@macro dvarv{varname, default}
@r{[}@var{\varname\} = @var{\default\}@r{]}@c
@end macro


Reply via email to