diff options
author | Arun Isaac | 2022-08-15 00:34:46 +0530 |
---|---|---|
committer | Arun Isaac | 2022-08-15 16:38:44 +0530 |
commit | 4f3636c18512a4e46c30136b2f0919a973e38067 (patch) | |
tree | de9a2d5b5c961e85f2ef04ce9f46d0c6fa47a57a | |
parent | 51a4542ae32fbf569d47ae279b42cd5e3e833da2 (diff) | |
download | ennum-4f3636c18512a4e46c30136b2f0919a973e38067.tar.gz ennum-4f3636c18512a4e46c30136b2f0919a973e38067.tar.lz ennum-4f3636c18512a4e46c30136b2f0919a973e38067.zip |
Expand ennum-copy docstring.
* ennum.el (ennum-copy): Expand docstring.
-rw-r--r-- | ennum.el | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -586,8 +586,15 @@ result as a string." (make-directory directory t)) (defun ennum-copy (source destination &optional quiet) - "Copy file or directory from SOURCE to DESTINATION. Overwrite -if DESTINATION already exists." + "Copy file or directory from SOURCE to DESTINATION. + +Overwrite if DESTINATION already exists. Create any parent +directories required. + +If SOURCE is a file and DESTINATION is a directory, copy SOURCE +to a like-named file under DESTINATION. For DESTINATION to be +recognized as a directory, it should end in a slash. See +`file-name-as-directory'." (unless quiet (message "Copying %s to %s" source destination)) (if (file-directory-p source) |