aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-16 10:15:41 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-16 10:15:41 +0200
commit7b07c95304689e297b72114f0c425a6ce9aada57 (patch)
tree7fc811c9d43a3095fa1695528ce9e07560310bd4 /lisp/mastodon-tl.el
parentc53f8c544283d7e82ce99d830defdbde16ea79f4 (diff)
tiny audits in profile.el and tl.el
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 8114705..8fb0f5e 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2231,11 +2231,8 @@ POS is a number, where point will be placed."
((eq type 'thread)
(save-match-data
(let ((endpoint (mastodon-tl--get-endpoint)))
- (string-match
- "statuses/\\(?2:[[:digit:]]+\\)/context"
- endpoint)
- (mastodon-tl--thread
- (match-string 2 endpoint))))))
+ (string-match "statuses/\\(?2:[[:digit:]]+\\)/context" endpoint)
+ (mastodon-tl--thread (match-string 2 endpoint))))))
;; TODO: sends point to where point was in buffer. This is very rough; we
;; may have removed an item , so the buffer will be smaller, point will
;; end up past where we were, etc.