r2707: Auto commit for Debian build
[lml.git] / lml.cl
diff --git a/lml.cl b/lml.cl
index 1e7aececbccd16ccc31ea76f38186cdeae19617b..2c30bbb644cf6d37d6519e6aef119b6ade7987b7 100644 (file)
--- a/lml.cl
+++ b/lml.cl
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: lml.cl,v 1.2 2002/09/16 06:26:27 kevin Exp $
+;;;; $Id: lml.cl,v 1.5 2002/09/16 08:16:49 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
 (in-package :lml)
 
-(defconstant +html4-prologue-string+
-    (format nil
-           "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">~%"))
+(defun html4-prologue-string ()
+  "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">")
 
-(defconstant +xml-prologue-string+ 
-    (format nil
-           "<?xml version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\"?>~%"))
+(defun xml-prologue-string ()
+  "version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\"?>")
 
-(defconstant +xhtml-prologue-string+
-    (format nil
-           "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">~%"))
+(defun xhtml-prologue-string ()
+  "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">")
 
 (defvar *print-spaces* nil)
 (defvar *indent* 0)
 
 (defmacro xhtml-prologue ()
   `(progn
-     (lml-print +xml-prologue-string+)
-     (lml-print +xhtml-prologue-string+)))
+     (lml-print "~A~%" (xml-prologue-string))
+     (lml-print "~A~%" (xhtml-prologue-string))))
 
 (defmacro link (dest &body body)
   `(with a :href ,dest ,@body))