diff options
Diffstat (limited to 'ennum.el')
-rw-r--r-- | ennum.el | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -91,10 +91,11 @@ the current state of all its variables." (defun ennum--set-file-modes-recursively (directory directory-mode file-mode executable-file-mode) (chmod directory directory-mode) (seq-do (lambda (file) - (cond - ((file-directory-p file) (chmod file directory-mode)) - ((file-executable-p file) (chmod file executable-file-mode)) - (t (chmod file file-mode)))) + (chmod file + (cond + ((file-directory-p file) directory-mode) + ((file-executable-p file) executable-file-mode) + (t file-mode)))) (ennum-directory-files directory t t))) (defmacro ennum-exp (&rest body) |