r5188: *** empty log message ***
[lml2.git] / htmlgen.lisp
index 3740158331e7eae39a9c17c4e42322dca9a0b6b3..e5de7cfd445bd0bb817138698ff82a4df5222bcf 100644 (file)
@@ -1,6 +1,6 @@
 ;; -*- mode: common-lisp; package: lml2 -*-
 ;;
-;; $Id: htmlgen.lisp,v 1.4 2003/06/24 16:30:05 kevin Exp $
+;; $Id: htmlgen.lisp,v 1.5 2003/06/24 16:41:44 kevin Exp $
 ;;
 ;; copyright (c) 1986-2000 Franz Inc, Berkeley, CA 
 ;; copyright (c) 2003 Kevin Rosenberg
        (declare (ignore ent argsp))
        (unless body
          (error "must have a body with :insert-file"))
-       `(lml-load-path (car ,args) *html-stream*)))
+       `(lml-load-path (car ',body))))
   
   (named-function html-nbsp-print-function
     (lambda (ent cmd args form subst unknown stream)
-      (declare (ignore args ent unknown subst))
+      (declare (ignore ent unknown subst stream form))
       (if* (eq cmd :full)
-          then (lml-load-path (car args))
+          then (lml-load-path (cadr form))
           else (error ":insert-file must be given an argument")))))