aboutsummaryrefslogtreecommitdiff
path: root/org-drill.el
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@newcastle.ac.uk>2019-07-21 20:09:42 +0000
committerPhillip Lord <phillip.lord@newcastle.ac.uk>2019-07-21 20:09:42 +0000
commit883fbfcfe2f6a1a850faa9f366746ba88f7ac6c1 (patch)
treefae231c879b5f5a375e9cfbf90feaeb1377727c4 /org-drill.el
parentde1e419ae39fa7b1f315ad00cb2671bd976c5d6d (diff)
parent0444db69f55c302a6ac0d6ee5c8558ede4d3d09a (diff)
downloadorg-drill-883fbfcfe2f6a1a850faa9f366746ba88f7ac6c1.tar.gz
org-drill-883fbfcfe2f6a1a850faa9f366746ba88f7ac6c1.zip
Merge branch 'fix/drill-matching' into 'master'
fix reversed member arguments See merge request phillord/org-drill!2
Diffstat (limited to 'org-drill.el')
-rw-r--r--org-drill.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-drill.el b/org-drill.el
index fcb9e08..2f4bc72 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -724,7 +724,7 @@ CMD is bound, or nil if it is not bound to a key."
(apply 'org-map-entries func
(concat "+" org-drill-question-tag
(if (and (stringp org-drill-match)
- (not (member '(?+ ?- ?|) (elt org-drill-match 0))))
+ (not (member (elt org-drill-match 0) '(?+ ?- ?|))))
"+" "")
(or org-drill-match ""))
(org-drill-current-scope scope)