Mark H Weaver <m...@netris.org> skribis:

> l...@gnu.org (Ludovic Courtès) writes:
>
>> John Darrington <j...@darrington.wattle.id.au> skribis:
>>
>>> How about something like (string-take-fields "1.22.3.04.5" 3) which would 
>>> return "1.22.3"
>>
>> Agreed.  What ‘version-prefix’, with the optional argument defaulting
>> to 2?
>
> I also like 'version-prefix', although I'd favor making it a required
> argument.  The improved code clarity is well worth two extra characters.

OK, let’s do that.

Ian: could you post an updated patch?

Thanks,
Ludo’.

Reply via email to