summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-07-03 14:57:16 +0200
committerLeon Rische <leon.rische@me.com>2020-07-03 14:57:16 +0200
commit222aeec0fdb169a3325dc65538d05dc7f076f9e8 (patch)
tree907b229311033936a0ca92c6ea80c6f17cc01735 /org-fc.el
parentaf7b174f4ba5211c3307b9797d9eb64d06707f01 (diff)
Add a `org-fc-unsuspend-tree` command
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/org-fc.el b/org-fc.el
index 0f18ed9..4603b13 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1214,6 +1214,12 @@ Checks if the headline is a suspended card first."
(message "Entry at point is not a suspended flashcard")))
;;;###autoload
+(defun org-fc-unsuspend-tree ()
+ "Un-suspend all cards in the subtree at point."
+ (interactive)
+ (org-fc-map-cards 'org-fc--unsuspend-card 'tree))
+
+;;;###autoload
(defun org-fc-unsuspend-buffer ()
"Un-suspend all cards in the current buffer."
(interactive)