aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-12 18:08:31 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-12 18:08:31 +0200
commit9d2a85b36d8d32a0ac5dcecc7cfd1223bf908056 (patch)
tree4b4eecc212baeacce4146549b134fde537e8d42f /lisp/mastodon-search.el
parent869917a0e770449040a6fbc15a80365fe6c86bdf (diff)
flychecks
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index a9c3b90..cedb22a 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -44,6 +44,7 @@
(autoload 'mastodon-tl--set-face "mastodon-tl")
(autoload 'mastodon-tl--timeline "mastodon-tl")
(autoload 'mastodon-tl--toot "mastodon-tl")
+(autoload 'mastodon-tl--buffer-property "mastodon-tl")
(defvar mastodon-toot--completion-style-for-mentions)
(defvar mastodon-instance-url)
@@ -146,7 +147,10 @@ PRINT-FUN is the function used to print the data from the response."
(defun mastodon-search--search-query (query
&optional type following account-id)
- "Prompt for a search QUERY and return accounts, statuses, and hashtags."
+ "Prompt for a search QUERY and return accounts, statuses, and hashtags.
+TYPE is a member of `mastodon-search-types'.
+FOLLOWING means limit search to accounts followed.
+ACCOUNT-ID means limit search to that account."
;; TODO: handle account search, buffer name etc.
;; TODO: handle no results
(interactive "sSearch mastodon for: ")