X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/ee4d9781081e74e6d56b5e808d7e37a5c9d7565c..43e8a182b5a4b41d3b5bb063cecb15d12ae3964b:/glib/utils.lisp?ds=sidebyside diff --git a/glib/utils.lisp b/glib/utils.lisp index fa11693..f009374 100644 --- a/glib/utils.lisp +++ b/glib/utils.lisp @@ -15,7 +15,7 @@ ;; License along with this library; if not, write to the Free Software ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -;; $Id: utils.lisp,v 1.1 2004-10-27 14:50:15 espen Exp $ +;; $Id: utils.lisp,v 1.2 2004-12-05 16:59:58 espen Exp $ (in-package "GLIB") @@ -53,7 +53,7 @@ (defmacro with-gc-disabled (&body body) (ext:gc-on))))))) (defun mklist (obj) - (if (atom obj) (list obj) obj)) + (if (and obj (atom obj)) (list obj) obj)) (defun namep (obj) (and (symbolp obj) (not (member obj '(t nil)))))