From c0c46f3bed3479f14065d1d28cad63217f9473bc Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sat, 15 Nov 2014 02:05:56 +0000 Subject: Add site date to questions --- sx-question.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'sx-question.el') 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." -- cgit v1.2.3