branch: elpa/org-drill
commit a9d771052e1ff112663d87d194c61ad5a4780252
Author: Phillip Lord <[email protected]>
Commit: Phillip Lord <[email protected]>
Fix matching of lock files
org-drill-resume can fail because it matches lock files for files in
the current directory. This prevents that matching.
---
org-drill.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-drill.el b/org-drill.el
index 6dd55cf06d..671c5c81ed 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -722,7 +722,7 @@ CMD is bound, or nil if it is not bound to a key."
(file-no-restriction 'file)
(directory
(directory-files (file-name-directory (buffer-file-name))
- t "\\.org$"))
+ t "^[^.].*\\.org$"))
(t org-drill-scope))
skip)))