[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Updating defcustoms of a loaded library
From: |
Clément Pit-Claudel |
Subject: |
Re: Updating defcustoms of a loaded library |
Date: |
Fri, 21 Jul 2017 19:51:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
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!