summaryrefslogtreecommitdiff
path: root/noflet.el
diff options
context:
space:
mode:
Diffstat (limited to 'noflet.el')
-rw-r--r--noflet.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/noflet.el b/noflet.el
index 11c0bf1..e4db529 100644
--- a/noflet.el
+++ b/noflet.el
@@ -65,9 +65,10 @@ name."
(intern (format "saved-func-%s"
(symbol-name name)))))
`(fset (quote ,name)
- (lambda ,args
- (let ((this-fn ,saved-func-namev))
- ,@body))))))))
+ (cl-function
+ (lambda ,args
+ (let ((this-fn ,saved-func-namev))
+ ,@body)))))))))
(fresets
(cl-loop
for i in bindings