From 858a059d0932c8c67885f26a22f6072a19e768f5 Mon Sep 17 00:00:00 2001 From: Alexander Griffith Date: Mon, 24 Apr 2017 21:48:02 -0400 Subject: Removed tabs from mastodon-tl --- lisp/mastodon-tl.el | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index b99f8f7..738c193 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -159,14 +159,14 @@ also render the html" (defun mastodon-tl--spoiler (toot) "Retrieve spoiler message from TOOT." (let* ((spoiler (mastodon-tl--field 'spoiler_text toot)) - (string (mastodon-tl--set-face spoiler 'default t)) - (message (concat "\n ---------------" - "\n Content Warning" - "\n ---------------\n")) - (cw (mastodon-tl--set-face message 'success 'nil))) + (string (mastodon-tl--set-face spoiler 'default t)) + (message (concat "\n ---------------" + "\n Content Warning" + "\n ---------------\n")) + (cw (mastodon-tl--set-face message 'success 'nil))) (if (> (length string) 0) - (replace-regexp-in-string "\n\n\n ---------------" - "\n ---------------" (concat string cw)) + (replace-regexp-in-string "\n\n\n ---------------" + "\n ---------------" (concat string cw)) ""))) @@ -174,11 +174,11 @@ also render the html" "Retreive a media attachment link if one exists." (let ((media (mastodon-tl--field 'media_attachments toot))) (if (> (length media) 0 ) - ;; Extract the preview_url, other options here - ;; are url and remote_url - (let ((link (cdr(assoc 'preview_url (elt media 0))))) - (concat "Media_Link:: " - (mastodon-tl--set-face link 'mouse-face 'nil))) + ;; Extract the preview_url, other options here + ;; are url and remote_url + (let ((link (cdr(assoc 'preview_url (elt media 0))))) + (concat "Media_Link:: " + (mastodon-tl--set-face link 'mouse-face 'nil))) ;; Otherwise return an empty string ""))) -- cgit v1.2.3