[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 2b2d6b03ba 2/5: search check type not data before
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 2b2d6b03ba 2/5: search check type not data before inserting. fixes b-spec |
Date: |
Sat, 14 Oct 2023 07:01:12 -0400 (EDT) |
branch: elpa/mastodon
commit 2b2d6b03ba7837f927b6c69ac44b78ac8b7789d6
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
search check type not data before inserting. fixes b-spec
---
lisp/mastodon-search.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index ee1edff42c..2a2a9952ee 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -186,19 +186,19 @@ ACCOUNT-ID means limit search to that account, for
\"statuses\" type only."
(mastodon-search-mode)
;; user results:
(mastodon-search--format-heading (upcase type))
- (when accts
+ (when (equal type "accounts")
(mastodon-search--insert-users-propertized accts :note)
(mastodon-tl--set-buffer-spec buffer "search"
'mastodon-views--insert-users-propertized-note
nil params))
;; hashtag results:
- (when tags
+ (when (equal type "hashtags")
(mastodon-search--print-tags tags)
(mastodon-tl--set-buffer-spec buffer "search"
'mastodon-search--print-tags
nil params))
;; status results:
- (when statuses
+ (when (equal type "statuses")
(mapc #'mastodon-tl--toot statuses)
(mastodon-tl--set-buffer-spec buffer "search"
'mastodon-tl--timeline
- [nongnu] elpa/mastodon updated (2cb0a5012a -> dc6f827bcb), ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon 1bd34da21b 3/5: rename search-query to query, ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon f23ce015cf 4/5: docstrings, ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon dc6f827bcb 5/5: refactor search, handle no results, ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon 2b2d6b03ba 2/5: search check type not data before inserting. fixes b-spec,
ELPA Syncer <=
- [nongnu] elpa/mastodon 35313fad43 1/5: don't run update in trending/search buffers for now, ELPA Syncer, 2023/10/14