aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-20 08:03:36 -0500
committerColin Okay <okay@toyful.space>2022-03-20 08:03:36 -0500
commitdccb512b2a16ffd2525d8862ac899303f7a58eef (patch)
treee2b0ed2c8ce5b3a1096ae0905d2afefce08b3de5
parent4456c2f10407e3f2290c4a8027fb9c9980820b68 (diff)
[refactor] using fdefinition to support setf definitions
-rw-r--r--testiere.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testiere.lisp b/testiere.lisp
index 8bdd526..3ec8a03 100644
--- a/testiere.lisp
+++ b/testiere.lisp
@@ -67,7 +67,7 @@
(let ((cached (gensym)))
`(let ((,cached
(when (fboundp ',name)
- (symbol-function ',name))))
+ (fdefinition ',name))))
(restart-case
(progn
(defun ,name ,lambda-list ,@function-body)