From 9e03bc45fe8479623522aa9e6d1a14ae7174a023 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 25 Oct 1995 03:49:29 +0000 Subject: [PATCH] Merge common parts of DOS/WIN32 and OS2 file-name customization. --- 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 e6cee4a64..dcc0e7c52 100644 --- a/v7/src/edwin/dosfile.scm +++ b/v7/src/edwin/dosfile.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: dosfile.scm,v 1.3 1995/10/25 03:26:46 cph Exp $ +;;; $Id: dosfile.scm,v 1.4 1995/10/25 03:49:29 cph Exp $ ;;; ;;; Copyright (c) 1994-95 Massachusetts Institute of Technology ;;; @@ -64,6 +64,11 @@ Includes the new backup. Must be > 0." 2 (lambda (n) (and (exact-integer? n) (> n 0)))) +(define dos/backup-suffixes + (cons "~" + (map (lambda (type) (string-append "~." type)) + dos/encoding-pathname-types))) + (define-variable completion-ignored-extensions "Completion ignores filenames ending in any string in this list." (append (list ".bin" ".com" ".ext" @@ -226,11 +231,6 @@ Includes the new backup. Must be > 0." (cons (substring filename root-start root-end) version)))))) -(define dos/backup-suffixes - (cons "~" - (map (lambda (type) (string-append "~." type)) - dos/encoding-pathname-types))) - (define (os/auto-save-filename? filename) (or (re-match-string-forward (re-compile-pattern "^#.+#$" #f) #f -- 2.25.1