From 6318ddd80bc6442b4d32454cc043dc9ba873e29a Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 23 May 2023 22:01:33 +0200 Subject: tiny comments/wrap --- lisp/mastodon-tl.el | 4 +--- 1 file changed, 1 insertion(+), 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. -- cgit v1.2.3