diff options
author | Arun Isaac | 2019-09-02 22:54:19 +0530 |
---|---|---|
committer | Arun Isaac | 2019-09-02 22:54:19 +0530 |
commit | dfdbc51501bcf535c6ecb742cfc169f6041be224 (patch) | |
tree | fac4cb77c0c706a31ffa0070dd7d60f67a379850 | |
parent | 7c842139bcdf41b20b1cf409d5599be2a760e70d (diff) | |
download | ennum-dfdbc51501bcf535c6ecb742cfc169f6041be224.tar.gz ennum-dfdbc51501bcf535c6ecb742cfc169f6041be224.tar.lz ennum-dfdbc51501bcf535c6ecb742cfc169f6041be224.zip |
Add filter-map utility function.
* ennu.el (ennu--filter-map): New function.
-rw-r--r-- | ennu.el | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -335,6 +335,9 @@ if DESTINATION already exists." (make-directory (file-name-directory destination) t) (copy-file source destination t))) +(defun ennu--filter-map (function sequence) + (seq-filter 'identity (seq-map function sequence))) + (defun ennu--do-operation (temporary-directory operation) (let* ((expand (lambda (directory file) (expand-file-name file directory))) |