[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12084: 24.1; default value for defcustom :type `choice'
From: |
Drew Adams |
Subject: |
bug#12084: 24.1; default value for defcustom :type `choice' |
Date: |
Sun, 29 Jul 2012 13:35:31 -0700 |
> (defcustom foo ()
> "..."
> :type `(repeat
> (choice ,@(mapcar (lambda (cset) `(const ,cset))
> charset-list)))
> :group 'convenience)
Lest someone reply that the programmer can order the list, e.g. could use, say,
`(charset-priority-list)' instead of `charset-list', let me say that that would
miss the point.
The problem (bug) is about specifying the default value, and documenting that.
It is not about improving the particular example used to illustrate the problem.