[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Whats wrong with this defcustom?
From: |
Sebastian Wiesner |
Subject: |
Re: Whats wrong with this defcustom? |
Date: |
Mon, 28 Jul 2014 15:17:09 +0200 |
Am 26.07.2014 um 12:55 schrieb Thorsten Jolitz <tjolitz@gmail.com>:
>
> Hi List,
>
> I'm probably overlooking the obvious, but what is wrong with this
> defcustom:
>
> ,----
> | (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)))
> `——
Remove the quotes from the symbols inside the `(const …)` expressions. The
outer `choice` is already quoted, so you are “double-quoting” the choices.
Hence the mismatch: The symbol "notes" is different from the expression "(quote
notes)".
- Re: Whats wrong with this defcustom?, (continued)
Message not available
Re: Whats wrong with this defcustom?,
Sebastian Wiesner <=
Re: Whats wrong with this defcustom?, Olve, 2014/07/26
Re: Whats wrong with this defcustom?, Emanuel Berg, 2014/07/29
Re: Whats wrong with this defcustom?, Emanuel Berg, 2014/07/29
Re: Whats wrong with this defcustom?, Emanuel Berg, 2014/07/30