X-Git-Url: http://git.kpe.io/?p=pubmed.git;a=blobdiff_plain;f=pubmed-src.lisp;fp=pubmed-src.lisp;h=492a9f5a986c2f4627c8ffd8e2410f18a6d6e2cf;hp=2977609864b24623c3407f8a5af7731c9d20be4b;hb=5b8ec8977ba1f8407495422e13285966c31392da;hpb=57fd9bc824b72b37605377e75034f16dcc71e0a3;ds=sidebyside diff --git a/pubmed-src.lisp b/pubmed-src.lisp index 2977609..492a9f5 100644 --- a/pubmed-src.lisp +++ b/pubmed-src.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Jun 2001 ;;;; -;;;; $Id: pubmed-src.lisp,v 1.2 2003/06/12 11:10:38 kevin Exp $ +;;;; $Id: pubmed-src.lisp,v 1.3 2003/06/20 08:35:22 kevin Exp $ ;;;; ;;;; This file, part of cl-pubmed, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -108,10 +108,11 @@ &key (os *standard-output*) (format :text) (complete nil) (print-link nil)) "Display an article set to specified stream in specified format" - (dotimes (i (articles-count artset)) - (print-article (nth i (articles artset)) :os os :format format - :complete complete :print-link print-link)) - artset) + (dotimes (i (articles-count artset) artset) + (if (nth i (articles artset)) + (print-article (nth i (articles artset)) :os os :format format + :complete complete :print-link print-link) + (princ "NULL Article" os)))) (defmethod print-article ((art pm-article) &key (os *standard-output*) (format :text) (complete nil) (print-link nil))