diff options
author | mousebot <mousebot@riseup.net> | 2021-05-12 10:57:32 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-05-12 10:57:32 +0200 |
commit | 5b7e7f1f7154e096469125daa96c16346ebeca9c (patch) | |
tree | a3801696ed41374dcc80e1176301586ce5c4f7d7 | |
parent | 1ffe400fd4e01400fee143bf9cf6a5c22be17b3f (diff) |
change search results order: statuses, users, hashtags
-rw-r--r-- | lisp/mastodon-search.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el index 4cb4477..5c381fa 100644 --- a/lisp/mastodon-search.el +++ b/lisp/mastodon-search.el @@ -40,6 +40,12 @@ (setq-local inhibit-read-only t) (insert (mastodon-tl--set-face (concat "\n ------------\n" + " STATUSES" "\n" + " ------------\n") + 'success)) + (mapcar 'mastodon-tl--toot toots-list-json) + (insert (mastodon-tl--set-face + (concat "\n ------------\n" " USERS" "\n" " ------------\n") 'success)) @@ -69,12 +75,6 @@ ;; (mastodon-tl--render-text (car (cdr el)) nil) ;; "\n")) tags-list) - (insert (mastodon-tl--set-face - (concat "\n ------------\n" - " STATUSES" "\n" - " ------------\n") - 'success)) - (mapcar 'mastodon-tl--toot toots-list-json) (goto-char (point-min)) ))) |