diff options
author | Arun Isaac | 2020-07-31 03:15:20 +0530 |
---|---|---|
committer | Arun Isaac | 2020-07-31 03:15:20 +0530 |
commit | 725dee7f492fdb64f0fa784bb2beb5ce09cdb823 (patch) | |
tree | c7a1c855a4b0b4d22f6fa1e17ed86a4d6a81728b | |
parent | 99b451aa472ede0d64ab8a5bb97382356c4d3353 (diff) | |
download | ennum-725dee7f492fdb64f0fa784bb2beb5ce09cdb823.tar.gz ennum-725dee7f492fdb64f0fa784bb2beb5ce09cdb823.tar.lz ennum-725dee7f492fdb64f0fa784bb2beb5ce09cdb823.zip |
Use ennum-mkdir-p in ennum-copy.
* ennum.el (ennum-copy): Use ennum-mkdir-p.
-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) |