diff options
-rw-r--r-- | org-clubhouse.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org-clubhouse.el b/org-clubhouse.el index d6db3bf18589..cb878a4d72f8 100644 --- a/org-clubhouse.el +++ b/org-clubhouse.el @@ -852,11 +852,11 @@ resulting stories at headline level LEVEL." (interactive "*nLevel: \nMQuery: ") (let* ((story-list (org-clubhouse--search-stories query))) - (if (null sprint-story-list) + (if (null story-list) (message "Query returned no stories: %s" query) (save-mark-and-excursion (insert (mapconcat #'org-clubhouse--story-to-headline-text - (reject-archived sprint-story-list) "\n")))))) + (reject-archived story-list) "\n")))))) (defun org-clubhouse-prompt-for-story (cb) "Prompt the user for a clubhouse story, then call CB with the full story." |