diff options
| author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-16 10:32:33 +0200 | 
|---|---|---|
| committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-16 10:32:33 +0200 | 
| commit | dfe1fb7aabe43bb8dbad198f31752c92d191e7d0 (patch) | |
| tree | e3a5ee58a19c3deec37d691e27ba6061bd1e1b69 /lisp | |
| parent | 7b07c95304689e297b72114f0c425a6ce9aada57 (diff) | |
http docstring
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mastodon-http.el | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 6f472bc..a2094be 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -80,8 +80,9 @@ SILENT means don't message."      (url-retrieve-synchronously url (or silent nil) nil mastodon-http--timeout)))  (defun mastodon-http--triage (response success) -  "Determine if RESPONSE was successful. Call SUCCESS if successful. -Message status and JSON error from RESPONSE if unsuccessful." +  "Determine if RESPONSE was successful. +Call SUCCESS if successful. Message status and JSON error from +RESPONSE if unsuccessful."    (let ((status (with-current-buffer response                    (mastodon-http--status))))      (if (string-prefix-p "2" status) | 
