aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-23 23:07:39 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-23 23:07:39 -0400
commit0185eefe088f32fe152dcee4959f86785a96ba39 (patch)
treef471113694d7145f87a5416e2bf32c2503302351 /lisp/mastodon-http.el
parent074c525d7b125922df6d47246df8645916dedbc9 (diff)
Make tweaks per checkdoc feedback
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 4c5d3dc..11260a1 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -60,6 +60,9 @@
(match-string 0 status-line))))
(defun mastodon-http--triage (response success)
+ "Determine if RESPONSE was successful. Call SUCCESS if successful.
+
+Open RESPONSE buffer if unsuccessful."
(let ((status (with-current-buffer response
(mastodon-http--status))))
(if (string-prefix-p "2" status)