From 3a06926baedf43d899558173f9b14ca74eda9db2 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Tue, 8 Sep 2020 02:16:30 +0200 Subject: Allow creating nested flashcards --- org-fc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org-fc.el') 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 -- cgit v1.2.3