emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defcustom: order matters in `choice' with value-to-internal


From: Stefan Monnier
Subject: Re: defcustom: order matters in `choice' with value-to-internal
Date: Sun, 23 Mar 2008 21:23:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> Order generally matters, the first matching choice is used.  There is
>>> nothing else that favors the repeat over regexp.
>> 
>> But AFAICT the only difference between the two is the order between
>> (const nil ..) and (repeat ...): the ordering between `repeat' and
>> `regexp' is the same in both cases, so it still looks odd.

> No, the order of `repeat regexp' and `regexp' is different:

Duh!  Sorry!  Victim of my auto-unwrap hack, which hid the `regexp'
entry at the end of the (const ...) lines


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]