aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 1b7c954..e26645e 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -843,7 +843,6 @@ LINK is maybe the `@handle' to search for."
LINK should be a simple handle string with no domain, i.e. \"@user\".
Return nil if no matching element."
;; Must return nil if nothing found!
- ;; TODO: we should break the while loop as soon as we get sth
(let ((mentions (append (alist-get 'mentions toot) nil)))
(when mentions
(let* ((mention (pop mentions))
@@ -986,8 +985,7 @@ content should be hidden."
(defun mastodon-tl--clean-tabs-and-nl (string)
"Remove tabs and newlines from STRING."
- (replace-regexp-in-string
- "[\t\n ]*\\'" "" string))
+ (replace-regexp-in-string "[\t\n ]*\\'" "" string))
(defun mastodon-tl--spoiler (toot)
"Render TOOT with spoiler message.