;;; -*-Scheme-*-
;;;
-;;; $Id: dired.scm,v 1.176 2000/03/31 19:40:13 cph Exp $
+;;; $Id: dired.scm,v 1.177 2000/03/31 19:50:20 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-2000 Massachusetts Institute of Technology
;;;
(define dired-flag-delete-char #\D)
(define dired-marker-char #\*)
\f
+(define (dired-mark-files! buffer predicate)
+ (for-each-file-line
+ (lambda (lstart)
+ (if (predicate (dired-filename-string lstart))
+ (dired-mark-1 lstart dired-marker-char)))))
+
(define (dired-marked-files #!optional mark marker-char)
(let ((mark
(cond ((or (default-object? mark) (not mark))