aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-03 22:23:07 -0500
committerSean Allred <code@seanallred.com>2015-01-03 22:23:07 -0500
commit14d7ada674f2d1f20c3843aa15a02d717c8f388b (patch)
tree4f97d8af0d7f3868436131fd44f2b4d919c90232
parent37e05282fa3d6c9c85e75d9b1768c67b8e2afbd9 (diff)
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.
-rw-r--r--sx-method.el3
1 files changed, 1 insertions, 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