aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-29 16:59:40 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-29 17:15:40 +0200
commitef07e69cf6d55a33cfe665a4d7db5d58271d1d91 (patch)
tree3096e2ae471ccb2ffaea506e774209f5565f4e00 /lisp/mastodon-search.el
parentded80d1dff2d80c3be659f569f067a7ec4633c97 (diff)
remove stray interactive calls for search-accounts/tags-query
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index bc51d22..4b4684f 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -59,7 +59,6 @@
(defun mastodon-search--search-accounts-query (query)
"Prompt for a search QUERY and return accounts synchronously.
Returns a nested list containing user handle, display name, and URL."
- (interactive "sSearch mastodon for: ")
(let* ((url (mastodon-http--api "accounts/search"))
(response (if (equal mastodon-toot--completion-style-for-mentions "following")
(mastodon-http--get-json url `(("q" . ,query) ("following" . "true")) :silent)
@@ -71,7 +70,6 @@ Returns a nested list containing user handle, display name, and URL."
(defun mastodon-search--search-tags-query (query)
"Return an alist containing tag strings plus their URLs.
QUERY is the string to search."
- (interactive "sSearch for hashtag: ")
(let* ((url (format "%s/api/v2/search" mastodon-instance-url))
(params `(("q" . ,query)
("type" . "hashtags")))