Merge branch 'master' of github.com:davazp/jscl
authorDavid Vázquez <davazp@gmail.com>
Mon, 5 Aug 2013 18:27:51 +0000 (20:27 +0200)
committerDavid Vázquez <davazp@gmail.com>
Mon, 5 Aug 2013 18:27:51 +0000 (20:27 +0200)
src/print.lisp
src/utils.lisp

index 3cc3829..8cb36bd 100644 (file)
 
 (defun write-line (x)
   (write-string x)
-  (write-string *newline*)
+  (write-char #\newline)
   x)
 
 (defun warn (string)
                ((char= next #\~)
                 (concatf res "~"))
                ((char= next #\%)
-                (concatf res *newline*))
+                (concatf res (string #\newline)))
                ((char= next #\*)
                 (pop arguments))
                (t
index d380e4c..6ab351d 100644 (file)
@@ -18,9 +18,6 @@
 
 (/debug "loading utils.lisp!")
 
-(defvar *newline* "
-")
-
 (defmacro concatf (variable &body form)
   `(setq ,variable (concat ,variable (progn ,@form))))