From 07b9d0e64d488670cdb6672103e1d044c065d5ba Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Fri, 2 Jan 2015 19:28:25 -0500 Subject: Remove process-function from request-all-items It doesn't really make sense. --- sx-request.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sx-request.el') diff --git a/sx-request.el b/sx-request.el index 00b90be..da0a1fb 100644 --- a/sx-request.el +++ b/sx-request.el @@ -100,7 +100,7 @@ It is good to use a reasonable delay to avoid rate-limiting.") ;;; Making Requests (defun sx-request-all-items (method &optional args request-method - process-function stop-when) + stop-when) "Call METHOD with ARGS until there are no more items. STOP-WHEN is a function that takes the entire response and returns non-nil if the process should stop. @@ -115,7 +115,7 @@ access the response wrapper." (let* ((return-value []) (current-page 1) (stop-when (or stop-when #'sx-request-all-stop-when-no-more)) - (process-function (or process-function #'identity)) + (process-function #'identity) (response (sx-request-make method `((page . ,current-page) ,@args) request-method process-function))) -- cgit v1.2.3