r3972: Auto commit for Debian build
[lml.git] / utils.lisp
index a1830451579f3ab3fc01f6cbc29922fb25968395..e00abb77676f031083c013f9bd2b617215dc0be1 100644 (file)
@@ -1,4 +1,4 @@
-;;; $Id: utils.lisp,v 1.4 2002/12/08 22:38:06 kevin Exp $
+;;; $Id: utils.lisp,v 1.5 2003/02/06 23:25:52 kevin Exp $
 ;;;;
 ;;;; General purpose utilities
 
@@ -19,7 +19,8 @@
        (string-equal "keyword" (package-name (symbol-package x)))))
 
 (defun list-to-spaced-string (list)
-  (format nil "~{ ~A~}" list))
+  (when (consp list) 
+    (format nil "~A~{ ~A~}" (first list) (rest list))))
 
 (defun indent-spaces (n &optional (stream *standard-output*))
   "Indent n*2 spaces to output stream"