From 14d7ada674f2d1f20c3843aa15a02d717c8f388b Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Sat, 3 Jan 2015 22:23:07 -0500 Subject: Simplify form If it's `t', then we still have our desired behavior. If it's not `t', then we just have 'it' -- when 'it' is `nil' (note, also not `t'), we obviously have `nil'. The behavior has not changed through this patch. --- sx-method.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sx-method.el b/sx-method.el index 6288cbb..063c404 100644 --- a/sx-method.el +++ b/sx-method.el @@ -103,8 +103,7 @@ Return the entire response as a complex alist." (get-all-stop-when (cond ((eq get-all t) #'sx-request-all-stop-when-no-more) - (get-all get-all) - (t nil)))) + (t get-all)))) (lwarn "sx-call-method" :debug "A: %S T: %S. M: %S,%s. F: %S" (equal 'warn auth) access-token method-auth full-method filter-auth) (unless access-token -- cgit v1.2.3