[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating recursive customization types / widgets
From: |
Per Abrahamsen |
Subject: |
Re: Creating recursive customization types / widgets |
Date: |
Sat, 29 Nov 2003 19:34:28 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Per Abrahamsen <address@hidden> writes:
> (define-widget 'child 'default
> "Base widget for recursive datastructures.
>
> You need to set :type to the widget type for the datastructure you
> want to define, and set :match to a function that matches the
> datastructure. If the datastructure is not recursive, you don't have
> to set :match."
> :format "%v"
This should be
:format "%{%t%}: %v"
to make it directly usable as a customization type.