-;;; $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
(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*))
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)