aboutsummaryrefslogtreecommitdiff
path: root/stack-question.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-02 11:54:59 -0500
committerSean Allred <code@seanallred.com>2014-11-02 11:54:59 -0500
commit72f5d07097b3f1530c40379d52606d3bc6856938 (patch)
tree5aada8b456536b14c09e5a4946750f96b26d9ae7 /stack-question.el
parent7d461a7d4f62d357a224741b9e808f1abada8d15 (diff)
Store compiled filter for question browsing
Diffstat (limited to 'stack-question.el')
-rw-r--r--stack-question.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/stack-question.el b/stack-question.el
index 3902a39..eb5b8a3 100644
--- a/stack-question.el
+++ b/stack-question.el
@@ -28,9 +28,12 @@
(require 'stack-filter)
(defvar stack-question-browse-filter
- (stack-filter-compile nil
+ (stack-filter-compile
+ nil
'(user.profile_image shallow_user.profile_image)))
+(stack-filter-store 'question-browse stack-question-browse-filter)
+
(defun stack-question-get-questions (site &optional page)
"Get the page PAGE of questions from SITE."
(stack-core-make-request