diff options
| author | Phillip Lord <phillip.lord@russet.org.uk> | 2019-01-22 20:54:33 +0000 |
|---|---|---|
| committer | Phillip Lord <phillip.lord@russet.org.uk> | 2019-01-22 20:54:33 +0000 |
| commit | a9d771052e1ff112663d87d194c61ad5a4780252 (patch) | |
| tree | 28260fe8c7da860215c71764574ec270b6bfcd61 | |
| parent | 6fc2bfe8c3477b04b162952f51cccbb2e3b86ad5 (diff) | |
| download | org-drill-a9d771052e1ff112663d87d194c61ad5a4780252.tar.gz org-drill-a9d771052e1ff112663d87d194c61ad5a4780252.zip | |
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.
| -rw-r--r-- | org-drill.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |
