aboutsummaryrefslogtreecommitdiff
path: root/sx-question-list.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-03-02 21:31:09 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-03-02 21:53:56 -0300
commitc151212966039601193f99698536e9284c98073c (patch)
tree6d4b7428c49acc9f736689f71f5bec2bcd8ebb9b /sx-question-list.el
parent2de52c27e4a3fdc370039f8afacd8b212bcc37d4 (diff)
Set json-array-type to 'list and perform many simplifications
due to usage of lists instead of vectors
Diffstat (limited to 'sx-question-list.el')
-rw-r--r--sx-question-list.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/sx-question-list.el b/sx-question-list.el
index 4f298a3..d489519 100644
--- a/sx-question-list.el
+++ b/sx-question-list.el
@@ -544,9 +544,8 @@ we're not. Do the same for 3 lines from the top."
(when (functionp sx-question-list--next-page-function)
;; Try to get more questions
(let ((list
- (cl-map 'list #'identity
- (funcall sx-question-list--next-page-function
- (1+ sx-question-list--pages-so-far)))))
+ (funcall sx-question-list--next-page-function
+ (1+ sx-question-list--pages-so-far))))
(if (null list)
(message "No further questions.")
;; If it worked, increment the variable.