diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-23 23:33:19 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-23 23:33:19 -0200 |
commit | 6b837ca538576d97c30af8091a2ebbc2691ddaff (patch) | |
tree | 05081e6f67097f56e7ac1af1c86242581d4aa350 | |
parent | b4bd8dd1b1c94a880372872560f32839807c56a0 (diff) |
get-questions accepts a submethod argument
-rw-r--r-- | sx-question.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sx-question.el b/sx-question.el index 3fcc438..a890d37 100644 --- a/sx-question.el +++ b/sx-question.el @@ -26,7 +26,7 @@ (require 'sx-filter) (require 'sx-method) -(defun sx-question-get-questions (site &optional page keywords) +(defun sx-question-get-questions (site &optional page keywords submethod) "Get SITE questions. Return page PAGE (the first if nil). Return a list of question. Each question is an alist of properties returned by the API with an added (site SITE) @@ -39,6 +39,7 @@ KEYWORDS are added to the method call along with PAGE. :keywords `((page . ,page) ,@keywords) :site site :auth t + :submethod submethod :filter sx-browse-filter)) (defun sx-question-get-question (site question-id) |