aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-02-28 21:35:22 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-02-28 21:35:22 +0100
commit1152970f4051c0656fde9e0ee5b142c852ee41a9 (patch)
treea4b12238aa2e980f9660432cefc40e37a28eec82 /lisp/mastodon-search.el
parent7d4d8bc059c9253b66fb694593e7c9bc8bafbc41 (diff)
parentb9368c00359bc6407048669539957a45cac47297 (diff)
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 1aed676..0f2a6d4 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -94,7 +94,7 @@ QUERY is the string to search."
(mastodon-mode)
(let ((inhibit-read-only t))
(erase-buffer)
- (mastodon-tl--set-buffer-spec buffer
+ (mastodon-tl--set-buffer-spec (buffer-name buffer)
"api/v1/trends"
nil)
;; hashtag results:
@@ -230,13 +230,11 @@ user's profile note. This is also called by
(defun mastodon-search--get-id-from-status (status)
"Fetch the id from a STATUS returned by a search call to the server.
-
We use this to fetch the complete status from the server."
(alist-get 'id status))
(defun mastodon-search--fetch-full-status-from-id (id)
"Fetch the full status with id ID from the server.
-
This allows us to access the full account etc. details and to
render them properly."
(let* ((url (concat mastodon-instance-url "/api/v1/statuses/" (mastodon-tl--as-string id)))