r2798: *** empty log message ***
[lml.git] / utils.cl
index dd86f0cc623cd1fdbeee0c325eff9b45fa96755e..28d739f1a08e7db99f2e9950581dd4f2fecc2062 100644 (file)
--- a/utils.cl
+++ b/utils.cl
@@ -1,4 +1,4 @@
-;;; $Id: utils.cl,v 1.4 2002/09/16 08:38:36 kevin Exp $
+;;; $Id: utils.cl,v 1.6 2002/09/20 18:55:03 kevin Exp $
 ;;;;
 ;;;; General purpose utilities
 
@@ -23,7 +23,7 @@
 
 (defun indent-spaces (n &optional (stream *standard-output*))
   "Indent n*2 spaces to output stream"
-  (let ((fmt (format nil "~~~D~~T" (+ n n))))
+  (let ((fmt (format nil "~~~DT" (+ n n))))
     (format stream fmt)))
 
 (defun print-file-contents (file &optional (strm *standard-output*))
@@ -49,7 +49,7 @@
                year
                hr min sec))))
 
-(defun lml-quit (&optional code)
+(defun lml-quit (&optional (code 0))
   "Function to exit the Lisp implementation. Copied from CLOCC's QUIT function."
     #+allegro (excl:exit code)
     #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)