diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-15 02:05:56 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-15 02:05:56 +0000 |
commit | c0c46f3bed3479f14065d1d28cad63217f9473bc (patch) | |
tree | db402390f14dcd4e674c1d2e2c5e7e8605a4283b /sx-question.el | |
parent | 6a2252c6e6aec21cb9c9336b706947343f9e4fa6 (diff) |
Add site date to questions
Diffstat (limited to 'sx-question.el')
-rw-r--r-- | sx-question.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sx-question.el b/sx-question.el index 19251ab..607b3f6 100644 --- a/sx-question.el +++ b/sx-question.el @@ -47,11 +47,13 @@ (defun sx-question-get-questions (site &optional page) "Get the page PAGE of questions from SITE." - (sx-method-call - "questions" - `((site . ,site) - (page . ,page)) - sx-question-browse-filter)) + (mapcar + (lambda (question) (cons (cons 'site site) question)) + (sx-method-call + "questions" + `((site . ,site) + (page . ,page)) + sx-question-browse-filter))) (defun sx-question-get-question (site id) "Get the question ID from SITE." |