Implement DIRED-MARK-FILES!.
authorChris Hanson <org/chris-hanson/cph>
Fri, 31 Mar 2000 19:51:44 +0000 (19:51 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 31 Mar 2000 19:51:44 +0000 (19:51 +0000)
v7/src/edwin/dired.scm

index 9486ce9c76b32ab90d404b71f92460f24cab9c49..cc89ba9a12f348a91f245ba1445ee55c39ac1948 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: dired.scm,v 1.177 2000/03/31 19:50:20 cph Exp $
+;;; $Id: dired.scm,v 1.178 2000/03/31 19:51:44 cph Exp $
 ;;;
 ;;; Copyright (c) 1986, 1989-2000 Massachusetts Institute of Technology
 ;;;
@@ -867,10 +867,10 @@ Actions controlled by variables list-directory-brief-switches
 (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)))))
+  (for-each-file-line buffer
+                     (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