From 750b547327e450e3afcbd9883a5f8cb2480215be Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 18 Feb 2019 16:32:39 -0500 Subject: [PATCH] fix: Correct variable reference oops --- org-clubhouse.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org-clubhouse.el b/org-clubhouse.el index d6db3bf18..cb878a4d7 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."