diff options
author | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2014-11-20 13:17:48 -0500 |
---|---|---|
committer | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2014-11-20 13:17:48 -0500 |
commit | 6b94d5f8c2c5b187a458c1256d9b496a0378770f (patch) | |
tree | 671a9632f23d6d2e4aa35f42871c431ee78039ca | |
parent | 534b1ab1f70dbc9029cd76d4ac627c1792e69ed9 (diff) |
Remove default site specification. Defaults to nil if not
specified (for network-wide searches).
Remove :warning, drop back to :debug
-rw-r--r-- | sx-method.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-method.el b/sx-method.el index feebd84..5499fb1 100644 --- a/sx-method.el +++ b/sx-method.el @@ -35,7 +35,7 @@ (filter 'none) auth (url-method "GET") - (site sx-site-default)) + site) "Call METHOD with additional keys. :ID is the id associated with a question, answer, comment, post or @@ -58,7 +58,7 @@ Return the entire response as a complex alist." (when submethod (format "/%s" submethod)))) (call 'sx-request-make)) - (lwarn "sx-call-method" :warning "A: %S T: %S. M: %S,%s. F: %S" (equal 'warn auth) + (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 (cond |