From 4d505cbeac6f56672ad26f1161e770e39519277d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 15 Sep 1999 02:23:59 +0000 Subject: [PATCH] Fix thinko. --- v7/src/edwin/dosfile.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)) -- 2.25.1