[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] defcustom ':size'
On 2017-06-26 08:38, Katsumi Yamaoka wrote:
> The only problem of `:size 0' is that the editable field will
> disappear if it is empty.
Can that be fixed using a macro conditional? Something to the effect
of:
(when (the variable is empty) ":size 10")
If so, there might need to be multiple checks: whether the variable is
bound, and for each variable type, whether it is empty.
Also, a potential problem with my patch is that it removed ALL
occurrences of the :size element, even when its assignment was greater
than zero. If that's a problem, it's simple for me to redo since it's
just a sed one-liner.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0