Use idiomatic "not" in place of "(zerop (length lst))"

This commit is contained in:
Steve Purcell 2012-05-04 20:34:28 +01:00
parent f17809801c
commit 8e8696fa14

View file

@ -623,7 +623,7 @@ TARGET-SUBDIR is a directory relative to TARGET."
(let ((failed (loop for pkg in (mapcar 'car package-build-alist)
when (not (package-build-archive-ignore-errors pkg))
collect pkg)))
(if (zerop (length failed))
(if (not failed)
(princ "\nSuccessfully Compiled All Packages\n")
(princ "\nFailed to Build the Following Packages\n")
(princ (mapconcat 'symbol-name failed "\n"))))