[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Whats wrong with this defcustom?
From: |
Tassilo Horn |
Subject: |
Re: Whats wrong with this defcustom? |
Date: |
Mon, 28 Jul 2014 10:58:36 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Thorsten Jolitz <tjolitz@gmail.com> writes:
Hi Thorsten,
> 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)))
> `----
,----[ C-h f defcustom RET ]
| defcustom is a Lisp macro in `custom.el'.
|
| (defcustom SYMBOL STANDARD DOC &rest ARGS)
|
| Declare SYMBOL as a customizable variable.
| SYMBOL is the variable name; it should not be quoted.
| STANDARD is an expression specifying the variable's standard
| value. It should not be quoted.
| ^^^^^^^^^^^^^^^^^^^^^^^
`----
Bye,
Tassilo
Message not available
Re: Whats wrong with this defcustom?, Sebastian Wiesner, 2014/07/28