aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-02-16 10:37:23 +0100
committermousebot <mousebot@riseup.net>2022-02-17 09:50:37 +0100
commit7d12bfac3c9adfae63529cc2a9d10ab006fc7b5f (patch)
tree4a223bda99998d02f73ec23260cb207ef0132935 /lisp/mastodon-search.el
parent241aa9b35101e6e8814e4aab64597caf6a285f75 (diff)
cleanup indentation in tl.el
cleanup indents
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el46
1 files changed, 23 insertions, 23 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 1c7f00e..e1ca81a 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -130,29 +130,29 @@ Returns a nested list containing user handle, display name, and URL."
JSON is the data from the server..
If NOTE is non-nil, include user's profile note.
This is also called by `mastodon-tl--get-follow-suggestions'."
- (mapc (lambda (acct)
- (let ((user (mastodon-search--get-user-info acct)))
- (insert
- (propertize
- (concat (propertize (car user)
- 'face 'mastodon-display-name-face
- 'byline t
- 'toot-id "0")
- " : \n : "
- (propertize (concat "@" (cadr user))
- 'face 'mastodon-handle-face
- 'mouse-face 'highlight
- 'mastodon-tab-stop 'user-handle
- 'keymap mastodon-tl--link-keymap
- 'mastodon-handle (concat "@" (cadr user))
- 'help-echo (concat "Browse user profile of @" (cadr user)))
- " : \n"
- (if note
- (mastodon-tl--render-text (cadddr user) nil)
- "")
- "\n")
- 'user-json acct))))
- json))
+ (mapc (lambda (acct)
+ (let ((user (mastodon-search--get-user-info acct)))
+ (insert
+ (propertize
+ (concat (propertize (car user)
+ 'face 'mastodon-display-name-face
+ 'byline t
+ 'toot-id "0")
+ " : \n : "
+ (propertize (concat "@" (cadr user))
+ 'face 'mastodon-handle-face
+ 'mouse-face 'highlight
+ 'mastodon-tab-stop 'user-handle
+ 'keymap mastodon-tl--link-keymap
+ 'mastodon-handle (concat "@" (cadr user))
+ 'help-echo (concat "Browse user profile of @" (cadr user)))
+ " : \n"
+ (if note
+ (mastodon-tl--render-text (cadddr user) nil)
+ "")
+ "\n")
+ 'user-json acct))))
+ json))
(defun mastodon-search--get-user-info (account)
"Get user handle, display name, account URL and profile note from ACCOUNT."