aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-drill.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/org-drill.el b/org-drill.el
index 2e19530..b342e05 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -661,7 +661,9 @@ regardless of whether the test was successful.")
(if (= 2 (length args))
;; and we don't want any byte compile errors
(if (fboundp 'org-get-local-tags) (org-get-local-tags))
- (funcall orig-fun)))
+ ;; the non-arg version doesn't return inherited tags, but
+ ;; get-tags-at does.
+ (org-get-tags-at)))
(when (= 8 (car (version-to-list org-version)))
;; Shut up package-lint