aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@newcastle.ac.uk>2019-02-24 17:26:03 +0000
committerPhillip Lord <phillip.lord@newcastle.ac.uk>2019-02-24 17:26:03 +0000
commit45e92eca744b0be5922bfe6efb338a40172bf92a (patch)
treefa3bfba04c479d73d47a5c9e23fdd0803c10092d
parent355c3a602f84f9e4f6efe4e2c025c9e67f8c8d60 (diff)
downloadorg-drill-45e92eca744b0be5922bfe6efb338a40172bf92a.tar.gz
org-drill-45e92eca744b0be5922bfe6efb338a40172bf92a.zip
Add org-drill-cram-tree function
-rw-r--r--org-drill.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/org-drill.el b/org-drill.el
index 08eb20a..18ed058 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -3020,6 +3020,12 @@ hours."
(setq *org-drill-cram-mode* t)
(org-drill scope drill-match))
+(defun org-drill-cram-tree ()
+ "Run an interactive drill session in 'cram mode' using subtree at point.
+
+See also, `org-drill-cram' and `org-drill-tree'."
+ (interactive)
+ (org-drill-cram 'tree))
(defun org-drill-tree ()
"Run an interactive drill session using drill items within the