diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-04 12:07:45 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-04 14:10:15 -0700 |
commit | 47bb12a0b37fd10b3c00a8ced942d29eb10f97d6 (patch) | |
tree | bc572963042753a31ed7c3778c62fcd94e531a25 /src/propspec.lisp | |
parent | 35d9f0b1222f7eb22687696f6442985ba9bd922d (diff) | |
download | consfigurator-47bb12a0b37fd10b3c00a8ced942d29eb10f97d6.tar.gz |
make it possible to use CL-INTERPOL strings when defining properties
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r-- | src/propspec.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp index 60ed55b..e0dcff6 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -128,7 +128,8 @@ an atomic property application." ((symbol-named unapply (car propapp)) (destructuring-bind (psym . args) (compile-propapp (cadr propapp)) (setprop sym (proptype psym) - :desc (strcat "Unapply: " (propdesc psym)) + :desc (lambda (&rest args) + (strcat "Unapply: " (apply #'propdesc psym args))) :check (complement (get psym 'check)) :apply (get psym 'unapply) :unapply (get psym 'apply)) |