X-Git-Url: https://git.distorted.org.uk/~mdw/lisp/blobdiff_plain/0ff9df03bb54ba792cefa551face51748ae34259..2af61873236491d221b3cbd8bbab4320a2beb7f4:/str.lisp diff --git a/str.lisp b/str.lisp index 1cb0cc7..104c85a 100644 --- a/str.lisp +++ b/str.lisp @@ -47,8 +47,7 @@ If QUOTEDP, then allow quoting and backslashifying; otherwise don't. The START and END arguments limit the portion of the string to be processed; the default to 0 and nil (end of string), as usual." - (unless start (setf start 0)) - (unless end (setf end (length string))) + (setf-default start 0 end (length string)) (let ((i start) (q nil) (e nil)