aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-20 12:18:44 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-20 12:30:02 -0400
commitfa9b989e536e384ad51cdac7682c9d60b2e535af (patch)
treee371892bbddb922f6198008d8fc40e59b3ce76f6 /lisp/mastodon-http.el
parentdf6320f5174e610f1eb281ff619fd88a5fb1ba6a (diff)
Cleanup mastodon-toot feature
- Delete unused functions - Refactor --action function to use mastodon-http--triage
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 92c876f..582f3a8 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -39,7 +39,9 @@
(concat mastodon-instance-url "/api/" mastodon--api-version "/" endpoint))
(defun mastodon--http-post (url callback args &optional headers)
- "Make POST request to URL.
+ "This function should be phased out in favor of `mastodon-http--post'.
+
+Make POST request to URL.
Response buffer is passed to CALLBACK function.
ARGS and HEADERS alist arguments are part of the POST request."