Skip to content

Commit

Permalink
Fix format for stream arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
davazp committed Jul 14, 2014
1 parent e551df3 commit e049b2d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/print.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,13 @@
(pop arguments))))
(setq res (concat res (string c))))
(incf i)))
(if destination
(progn
(write-string res)
nil)
res)))

(case destination
((t)
(write-string res)
nil)
((nil)
res)
(t
(write-string res destination)))))
#+jscl (fset 'format (fdefinition '!format))

0 comments on commit e049b2d

Please sign in to comment.