From: Chris Hanson Date: Wed, 15 Sep 1999 02:23:59 +0000 (+0000) Subject: Fix thinko. X-Git-Tag: 20090517-FFI~4453 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=4d505cbeac6f56672ad26f1161e770e39519277d;p=mit-scheme.git Fix thinko. --- diff --git a/v7/src/edwin/dosfile.scm b/v7/src/edwin/dosfile.scm index 4af8deff6..a3bf06918 100644 --- a/v7/src/edwin/dosfile.scm +++ b/v7/src/edwin/dosfile.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: dosfile.scm,v 1.31 1999/08/20 20:34:20 cph Exp $ +;;; $Id: dosfile.scm,v 1.32 1999/09/15 02:23:59 cph Exp $ ;;; ;;; Copyright (c) 1994-1999 Massachusetts Institute of Technology ;;; @@ -297,11 +297,11 @@ Switches may be concatenated, e.g. `-lt' is equivalent to `-l -t'." (or (try "^\\([^.]+\\)\\.\\([0-9][0-9][0-9]\\)$") (try "^\\([^.]+\\.[^.]\\)\\([0-9][0-9]\\)$") (let loop ((suffixes dos/backup-suffixes)) - (if (pair? suffixes) - (or (try (string-append "^\\(.+\\)\\.~\\([0-9]+\\)" - (re-quote-string (car suffixes)) - "$")) - (loop (cdr suffixes))))))))) + (and (pair? suffixes) + (or (try (string-append "^\\(.+\\)\\.~\\([0-9]+\\)" + (re-quote-string (car suffixes)) + "$")) + (loop (cdr suffixes))))))))) (and r (let ((root-start (re-match-start-index 1 r)) (root-end (re-match-end-index 1 r))