bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12186: 24.1.50; defcustom and sets


From: Glenn Morris
Subject: bug#12186: 24.1.50; defcustom and sets
Date: Sun, 12 Aug 2012 21:41:43 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Jambunathan K wrote:

>            (set :tag "Choices"
>                 (symbol :tag "VC State" added)
>                 (symbol :tag "VC State" conflict)

You're using it wrong.

elisp "Composite Types"

`(set TYPES...)'
     The value must be a list, and each element of the list must match
     one of the TYPES specified.[...]
     It is not possible to specify two different elements that match
     the same one of TYPES.

You probably want const rather than symbol.





reply via email to

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