From dfe1fb7aabe43bb8dbad198f31752c92d191e7d0 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 16 May 2023 10:32:33 +0200 Subject: http docstring --- lisp/mastodon-http.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon-http.el') 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) -- cgit v1.2.3