aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-02 13:16:11 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-02 13:16:11 +0200
commitf8ea1b346fef0c91ab558657eced6bce0a83e14b (patch)
treef883ffdacfd8f5d16e872d22ec9d0324062cd653 /lisp/mastodon-search.el
parent3642927d8c60faee3cc7aea1136d33bce7e1a381 (diff)
parent3ec2f7814aa11f860658e4e995ea4f8accc9499a (diff)
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 8d450e3..10e12c3 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -103,6 +103,11 @@ QUERY is the string to search."
(mastodon-mode)
(let ((inhibit-read-only t))
(erase-buffer)
+ (setq mastodon-tl--buffer-spec
+ `(buffer-name ,buffer
+ endpoint ,(format "api/v2/search")
+ update-function
+ (lambda (toot) (message "Searched."))))
;; user results:
(insert (mastodon-tl--set-face
(concat "\n ------------\n"