emacs-devel
[Top][All Lists]
Advanced

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

Re: Updating defcustoms of a loaded library


From: Stephen Berman
Subject: Re: Updating defcustoms of a loaded library
Date: Fri, 28 Jul 2017 10:45:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Fri, 21 Jul 2017 19:51:13 +0200 Clément Pit-Claudel <address@hidden> wrote:

> On 2017-07-21 19:41, Stefan Monnier wrote:
>>>> So I'm asking, is there a better way?
>>> Yup, IIRC you can do this:
>>>   (put 'todo-filter-files 'custom-type `(set ,@(todo--files-type-list)))
>> 
>> It's less hideous, but isn't there a way to create a type that says "the
>> set returned by this function"?
>
> Not that I know of.  I'd be happy to learn something new, though!

I guess it should be possible with define-widget?  I put looking into it
on one of my Todo lists, but in the mean time I'll reduce the
hideousness with `put'.  Thanks for the suggestion and the feedback.

Steve Berman



reply via email to

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