projects
/
lml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2aba65a
)
r4048: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 15 Feb 2003 03:00:22 +0000
(
03:00
+0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 15 Feb 2003 03:00:22 +0000
(
03:00
+0000)
utils.lisp
patch
|
blob
|
history
diff --git
a/utils.lisp
b/utils.lisp
index e00abb77676f031083c013f9bd2b617215dc0be1..8ebcefcb43e0677ad2c89d07190fecdc003d6095 100644
(file)
--- a/
utils.lisp
+++ b/
utils.lisp
@@
-1,4
+1,4
@@
-;;; $Id: utils.lisp,v 1.
5 2003/02/06 23:25:5
2 kevin Exp $
+;;; $Id: utils.lisp,v 1.
6 2003/02/15 03:00:2
2 kevin Exp $
;;;;
;;;; General purpose utilities
;;;;
;;;; General purpose utilities
@@
-19,8
+19,9
@@
(string-equal "keyword" (package-name (symbol-package x)))))
(defun list-to-spaced-string (list)
(string-equal "keyword" (package-name (symbol-package x)))))
(defun list-to-spaced-string (list)
- (when (consp list)
- (format nil "~A~{ ~A~}" (first list) (rest list))))
+ (if (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"
(defun indent-spaces (n &optional (stream *standard-output*))
"Indent n*2 spaces to output stream"