summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-09-08 02:16:30 +0200
committerLeon Rische <leon.rische@me.com>2020-09-08 02:16:30 +0200
commit3a06926baedf43d899558173f9b14ca74eda9db2 (patch)
tree572a89d2251fb22b22eb4ed27506b6f813d38dd7 /org-fc.el
parent284399adee2d127cdcb40ab364322768a97ab17c (diff)
Allow creating nested flashcards
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-fc.el b/org-fc.el
index 2858a3c..c291a6f 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -545,7 +545,7 @@ If it is shorter than EXPECTED-LENGTH, it is filled using
(defun org-fc--init-card (type)
"Initialize the current card as a flashcard.
Should only be used by the init functions of card TYPEs."
- (if (org-fc-part-of-entry-p)
+ (if (org-fc-entry-p)
(error "Headline is already a flashcard"))
(org-back-to-heading)
(org-set-property