From 9d2a85b36d8d32a0ac5dcecc7cfd1223bf908056 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 12 Oct 2023 18:08:31 +0200 Subject: flychecks --- lisp/mastodon-profile.el | 2 ++ lisp/mastodon-search.el | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'lisp') 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: ") -- cgit v1.2.3