aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-07 18:51:23 -0500
committerSean Allred <code@seanallred.com>2014-11-07 18:51:23 -0500
commit1207f47bd2340922268a1340601d45e6c336c11a (patch)
treed4ff02bcfcf8ce1f2d7ccb46998dff647c4b3cd7 /sx-question.el
parente9277af61fe725ef70769add9c050bfed4509a22 (diff)
Introduce initialization logic and hooks
Diffstat (limited to 'sx-question.el')
-rw-r--r--sx-question.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/sx-question.el b/sx-question.el
index e9634f7..0ce5413 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -30,11 +30,10 @@
(require 'sx-request)
;; I don't know why this is here, but it was causing an API request on require.
-(defvar sx-question-browse-filter nil
- ;; (stack-filter-compile
- ;; nil
- ;; '(user.profile_image shallow_user.profile_image))
- )
+(defvar sx-question-browse-filter nil)
+(sx-init-variable
+ sx-question-browse-filter
+ (sx-filter-compile nil '(user.profile_image shallow_user.profile_image)))
;; (stack-filter-store 'question-browse sx-question-browse-filter)