From a9d771052e1ff112663d87d194c61ad5a4780252 Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Tue, 22 Jan 2019 20:54:33 +0000 Subject: 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 6dd55cf..671c5c8 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))) -- cgit v1.2.3