summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-07-06 17:13:12 +0200
committerLeon Rische <leon.rische@me.com>2020-07-06 17:13:25 +0200
commit578b8a1b0bae6ce35e8beca7ff8595d39c73873f (patch)
tree7124f8424c63a5790332d4b33704f596e95e9fff
parent733f547125513f378666430b4117d96e690a757d (diff)
Add `org-fc-suspend-tree` command
-rw-r--r--org-fc.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/org-fc.el b/org-fc.el
index a657c4b..714a8e7 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1183,6 +1183,12 @@ Other useful values are:
(interactive)
(org-fc-map-cards 'org-fc-suspend-card))
+;;;###autoload
+(defun org-fc-suspend-tree ()
+ "Suspend all cards in the subtree at point."
+ (interactive)
+ (org-fc-map-cards 'org-fc-suspend-card 'tree))
+
(defun org-fc--unsuspend-card ()
"Unsuspend the card at point, updating its review data.
If a position is overdue by more than