r2676: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 16 Sep 2002 03:16:09 +0000 (03:16 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 16 Sep 2002 03:16:09 +0000 (03:16 +0000)
downloads.cl

index bba97ca71f3e3f06c80ef587568a4df8c635565b..917c87f534912afdabb2157b38d12f5aa507a82b 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: downloads.cl,v 1.2 2002/09/16 03:09:00 kevin Exp $
+;;;; $Id: downloads.cl,v 1.3 2002/09/16 03:16:09 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
                  (return-from search nil)))
              t)
          (push f filtered))))
-    (sort filtered #'(lambda (a b) (string<
-                                   (namestring a)
-                                   (namestring b))))))
+    (when filtered
+      (sort filtered #'(lambda (a b) (when (and a b)
+                                      (string<
+                                       (namestring a)
+                                       (namestring b))))))))
 
 (defun display-one-section (title pat)
   (let ((files (filter-against-base (directory pat))))