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 16:59:40 +0200
commitf76bcc5a20383bb55855eb0d76158c7f187902b1 (patch)
treee7e9a9b88de5d47f6395cf383a8f204108631fc9 /lisp/mastodon-search.el
parent96a2448ad45a8f4c7346c91cc73b215213411ca0 (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")))