aboutsummaryrefslogtreecommitdiff
path: root/lisp
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
parent869917a0e770449040a6fbc15a80365fe6c86bdf (diff)
flychecks
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-profile.el2
-rw-r--r--lisp/mastodon-search.el6
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index bee1b26..56a7b49 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -79,6 +79,8 @@
(autoload 'mastodon-toot--get-max-toot-chars "mastodon-toot")
(autoload 'mastodon-views--add-account-to-list "mastodon-views")
(autoload 'mastodon-return-credential-account "mastodon")
+(autoload 'mastodon-tl--buffer-property "mastodon-tl")
+(autoload 'mastodon-search--search-query "mastodon-search")
(defvar mastodon-tl--horiz-bar)
(defvar mastodon-tl--update-point)
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: ")