diff options
Diffstat (limited to 'sx-method.el')
-rw-r--r-- | sx-method.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sx-method.el b/sx-method.el index 2d8f9d2..8909a2b 100644 --- a/sx-method.el +++ b/sx-method.el @@ -34,6 +34,7 @@ (defun sx-method-call (method &optional keyword-arguments filter need-auth use-post) "Call METHOD with KEYWORD-ARGUMENTS using FILTER. +This is a high-level wrapper for `sx-request-make'. If NEED-AUTH is non-nil, an auth-token is required. If 'WARN, warn the user `(user-error ...)' if they do not have an AUTH @@ -42,9 +43,7 @@ token set. If USE-POST is non-nil, use `POST' rather than `GET' for passing arguments. -Return the response content as a complex alist. - -See `sx-request-make' and `sx-filter-get-var'." +Return the response content as a complex alist." (sx-request-make method (cons (cons 'filter (sx-filter-get-var filter)) keyword-arguments) |