diff options
author | Leon Rische <leon.rische@me.com> | 2020-09-12 23:06:21 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-09-12 23:06:21 +0200 |
commit | 46723aa33b5799b61a74a4140a6a7cbe0ce3d077 (patch) | |
tree | f5b556b47aa7cd7e29055e60e7299369c6ca9f9f /org-fc.el | |
parent | 775c727820acc3fbf07cf8de08370df5142178dc (diff) |
Fix `org-fc-member-p`
Diffstat (limited to 'org-fc.el')
-rw-r--r-- | org-fc.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ Used to calculate the time needed for reviewing a card.") (defun org-fc-member-p (path) "Check if PATH is member of one of the `org-fc-directories'." (setq path (expand-file-name path)) - (and (string= (file-name-extension file) "org") + (and (string= (file-name-extension path) "org") (cl-some (lambda (dir) (string-prefix-p (expand-file-name dir) path)) org-fc-directories))) |