diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-12 18:06:26 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-12 18:06:26 +0200 |
commit | 869917a0e770449040a6fbc15a80365fe6c86bdf (patch) | |
tree | d7c853207b317135761c0ca6e47a209b81061727 /lisp/mastodon-search.el | |
parent | 2cd8a9a38fe6a4562d696e1fd15b4de3acae641e (diff) |
rough account statuses search
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r-- | lisp/mastodon-search.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el index e2faec5..a9c3b90 100644 --- a/lisp/mastodon-search.el +++ b/lisp/mastodon-search.el @@ -147,6 +147,8 @@ 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." + ;; TODO: handle account search, buffer name etc. + ;; TODO: handle no results (interactive "sSearch mastodon for: ") (let* ((url (format "%s/api/v2/search" mastodon-instance-url)) (type (or type |