chiark
/
gitweb
/
~mdw
/
lisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd5cb6
)
safely: Fix useless use of APPLY in SAFELY-WRITING.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 28 Apr 2009 10:19:09 +0000
(11:19 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 15 Apr 2010 12:47:29 +0000
(13:47 +0100)
Not quite sure what I was thinking.
safely.lisp
patch
|
blob
|
blame
|
history
diff --git
a/safely.lisp
b/safely.lisp
index b5d7ff8f895982c27a589b968f35f58cd8cd4816..2477f9a721b7350fb997e31d97937a30b43d39af 100644
(file)
--- a/
safely.lisp
+++ b/
safely.lisp
@@
-237,8
+237,7
@@
(defmacro safely-writing ((stream file &rest open-args) &body body)
temporary file, and if BODY completes, it is renamed to FILE."
(with-gensyms safe
`(safely (,safe)
- (let ((,stream (apply #'safely-open-output-stream
- ,safe ,file ,open-args)))
+ (let ((,stream (safely-open-output-stream ,safe ,file ,@open-args)))
,@body))))
;;;----- That's all, folks --------------------------------------------------