;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Jun 2001
;;;;
-;;;; $Id: pubmed-src.lisp,v 1.2 2003/06/12 11:10:38 kevin Exp $
+;;;; $Id$
;;;;
;;;; This file, part of cl-pubmed, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
&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))