diff options
author | Sean Allred <code@seanallred.com> | 2014-11-08 14:12:42 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-08 14:12:42 -0500 |
commit | 7ed29c4dc940a871562aaa802ac53ddee4c66a27 (patch) | |
tree | 4656459efc90a16ad70a5f857630066a85805e11 /sx-question.el | |
parent | b6043f63e5b3437633a53bcc191214bb8a7f936b (diff) |
Re-work filtering and caching
* sx-auth.el
- Use new symbolic cache access
* sx-cache.el
- Implement symbolic cache access
* sx-filter.el
- Use symbolic cache access
- Compile and save filters on-demand
(more work to be done to this end)
* sx-question.el
- Symbolic filters
* sx-request.el
- Protection against infinitely recursing when compiling a filter
This will be re-worked into requests (a front-end function) and
'raw' requests (a back-end function). The front-end will add
convenience to the back-end.
* test/tests.el
Remove outdated tests
Diffstat (limited to 'sx-question.el')
-rw-r--r-- | sx-question.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sx-question.el b/sx-question.el index 0ce5413..8957e6f 100644 --- a/sx-question.el +++ b/sx-question.el @@ -30,12 +30,9 @@ (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) -(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) +(defvar sx-question-browse-filter + ;; Remember: INCLUDE EXCLUDE BASE + '(nil (user.profile_image shallow_user.profile_image))) (defun sx-question-get-questions (site &optional page) "Get the page PAGE of questions from SITE." |