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

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

Re: Whats wrong with this defcustom?


From: Olve
Subject: Re: Whats wrong with this defcustom?
Date: Sat, 26 Jul 2014 14:58:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Le 26/07/2014 12:55, Thorsten Jolitz a écrit :
> (defcustom org-x-style 'notes
> |   "Possible styles for diagrams."
> |   :group 'org-x
> |   :type '(choice (const :tag "Sync-bars" 'sync-bars)
> |          (const :tag "Partitions" 'partitions)
> |          (const :tag "Notes" 'notes)))

(defcustom org-x-style 'notes
   "Possible styles for diagrams."
   :group 'org-x
   :type '(choice (const :tag "Sync-bars" sync-bars)
          (const :tag "Partitions" partitions)
          (const :tag "Notes" notes)))

The last symbols in const should not be quoted (or double-quote the initial value !) A.O.


reply via email to

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