branch: externals/leaf commit b5fc58d7c657a61d4a64ba7a631cfd4e1777c1ae Author: USAMI Kenta <tad...@zonu.me> Commit: USAMI Kenta <tad...@zonu.me>
Accept any keyword and default value (sexp) --- leaf.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/leaf.el b/leaf.el index d92af84..ff4d5e7 100644 --- a/leaf.el +++ b/leaf.el @@ -366,8 +366,10 @@ Sort by `leaf-sort-leaf--values-plist' in this order.") (const :leaf-protect) (const :leaf-defun) (const :leaf-defvar) - (const :leaf-path)) - :value-type boolean) + (const :leaf-path) + (symbol :tag "Other keyword of leaf-system-defaults")) + :value-type (choice boolean + (sexp :tag "Default value of the keyword"))) :group 'leaf) (defvar leaf-system-defaults (list