From 5b7e7f1f7154e096469125daa96c16346ebeca9c Mon Sep 17 00:00:00 2001 From: mousebot Date: Wed, 12 May 2021 10:57:32 +0200 Subject: change search results order: statuses, users, hashtags --- lisp/mastodon-search.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lisp/mastodon-search.el') 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 @@ -38,6 +38,12 @@ (erase-buffer) (mastodon-mode) (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" @@ -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)) ))) -- cgit v1.2.3