-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the functions dealing with source/dest file paths (see #97)
This commit introduces pb/expand-file-specs, which expands a :files list into a list of (SOURCE . DEST) pairs -- SOURCE is the relative path of a source file or directory, and DEST is the relative path to which it should be copied. By mapcar'ing this list, it's then easy to get lists of the source and destination files, and copying files becomes as easy as copying each SOURCE to its corresponding DEST.
- Loading branch information
Showing
1 changed file
with
36 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8be7c71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is line 541 supposed to be 'caar'
8be7c71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nm, I see why. I missed the assignment to files using the new function.