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: Thorsten Jolitz
Subject: Re: Whats wrong with this defcustom?
Date: Sat, 26 Jul 2014 15:32:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Olve <address@hidden> writes:

> 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.

Ah, ok, that works. Thanks! I knew it must be a small issue, but not
which one ...

-- 
cheers,
Thorsten




reply via email to

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