about summary refs log tree commit diff
path: root/org-clubhouse.el
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-02-18T21·32-0500
committerGriffin Smith <root@gws.fyi>2019-02-18T21·33-0500
commit750b547327e450e3afcbd9883a5f8cb2480215be (patch)
tree4f929a806c0bed5cd88030ec694cc281cd6fce4d /org-clubhouse.el
parent813710f2610a2c7ec2d26da29f5b9e4621edf5b0 (diff)
fix: Correct variable reference
oops
Diffstat (limited to 'org-clubhouse.el')
-rw-r--r--org-clubhouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/org-clubhouse.el b/org-clubhouse.el
index d6db3bf185..cb878a4d72 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."