[PATCH 2/2] cli: define config getters and setters using a macro

David Bremner david at tethera.net
Wed Jan 15 05:29:24 PST 2014


Jani Nikula <jani at nikula.org> writes:

> There's plenty of duplicated code in defining the functions for config
> get/set. Add macros to define the functions.
>
> ---
>
> This might be a bit too tricky for some people's tastes... let's see!
> ;)

I could go either way on this. I don't find it unbearably tricky; I'm
also not 100% sure it's needed. But if you and Tomi still like the idea,
I'm ok with it.

d


More information about the notmuch mailing list