diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-04-11 23:39:35 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-04-11 23:39:35 -0400 |
commit | d267679cb21ec66216813900bd1b7abae5be761a (patch) | |
tree | f2c34751a8c5cb59016141c7bb05ecad32c63fbc | |
parent | 01160bfa8c6e92c7972917e71b449faa9aaf6df5 (diff) | |
download | bog-d267679cb21ec66216813900bd1b7abae5be761a.tar.gz |
bog-staged-files: Don't return backup files
-rw-r--r-- | bog.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -690,7 +690,8 @@ Generate a file name with the form (defun bog-staged-files () "Return files in `bog-stage-directory'." - (cl-remove-if #'file-directory-p + (cl-remove-if (lambda (f) (or (file-directory-p f) + (backup-file-name-p f))) (directory-files bog-stage-directory t directory-files-no-dot-files-regexp))) |