diff options
-rw-r--r-- | ennum.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -373,7 +373,8 @@ non-nil, include directories in the output." if DESTINATION already exists." (if (file-directory-p source) (copy-directory source destination) - (make-directory (file-name-directory destination) t) + (when (file-name-directory destination) + (ennum-mkdir-p (file-name-directory destination))) (copy-file source destination t))) (defun ennum--filter-map (function sequence) |