X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=lml.cl;h=2c30bbb644cf6d37d6519e6aef119b6ade7987b7;hb=711232053c56eb646c584a1758c359553990c70c;hp=1e7aececbccd16ccc31ea76f38186cdeae19617b;hpb=167347087d99a14adaa49b8454b1279cccab4897;p=lml.git diff --git a/lml.cl b/lml.cl index 1e7aece..2c30bbb 100644 --- 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 ;;;; @@ -19,17 +19,14 @@ (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) (in-package :lml) -(defconstant +html4-prologue-string+ - (format nil - "~%")) +(defun html4-prologue-string () + "") -(defconstant +xml-prologue-string+ - (format nil - "~%")) +(defun xml-prologue-string () + "version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\"?>") -(defconstant +xhtml-prologue-string+ - (format nil - "~%")) +(defun xhtml-prologue-string () + "") (defvar *print-spaces* nil) (defvar *indent* 0) @@ -130,8 +127,8 @@ (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))