aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 21:35:34 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 22:46:45 +0200
commiteaaf0b5f5c466d1e998b22f3ae91fc66c50434d8 (patch)
treeb3f04322565b0a3ce3c396086a30201b63e0c9cd
parent179f001697703ec88651a181d18212d17f2b6dd8 (diff)
remove unused --append-query-string
-rw-r--r--lisp/mastodon-http.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index f73fd6b..f32ccd4 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -173,13 +173,6 @@ Pass response buffer to CALLBACK function."
(with-temp-buffer
(mastodon-http--url-retrieve-synchronously url))))
-(defun mastodon-http--append-query-string (url params)
- "Append PARAMS to URL as query strings and return it.
-
-PARAMS should be an alist as required by `url-build-query-string'."
- (let ((query-string (url-build-query-string params)))
- (concat url "?" query-string)))
-
;; search functions:
(defun mastodon-http--process-json-search ()
"Process JSON returned by a search query to the server."