about summary refs log tree commit diff
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
parent813710f2610a2c7ec2d26da29f5b9e4621edf5b0 (diff)
fix: Correct variable reference
oops
-rw-r--r--org-clubhouse.el4
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."