diff options
Diffstat (limited to 'ennu.el')
-rw-r--r-- | ennu.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -309,11 +309,12 @@ last form in BODY." (make-directory directory t)) (defun ennu-copy (source destination) - "Copy file or directory from SOURCE to DESTINATION." + "Copy file or directory from SOURCE to DESTINATION. Overwrite +if DESTINATION already exists." (if (file-directory-p source) (copy-directory source destination) (make-directory (file-name-directory destination) t) - (copy-file source destination))) + (copy-file source destination t))) (defun ennu--do-operation (temporary-directory operation) (let* ((expand (lambda (directory file) |