summaryrefslogtreecommitdiff
path: root/ennu.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennu.el')
-rw-r--r--ennu.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/ennu.el b/ennu.el
index 0d6abec..b2cc472 100644
--- a/ennu.el
+++ b/ennu.el
@@ -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)