aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-19 09:21:39 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-19 09:22:41 +0200
commitb8838b8a2fb8932227c4daf2cf823ad9d0e1eea6 (patch)
tree33097d912ccb6912f290e8e16e9cf431efa2df6a /lisp/mastodon-tl.el
parente4443ee61505b82f967dd4cb2d2cb5af999d4a41 (diff)
tl--init*: fix a stray bracket
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index bbad5de..249c4a8 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1688,14 +1688,13 @@ JSON is the data returned from the server."
#'mastodon-tl--update-timestamps-callback
(current-buffer)
nil)))
- (unless
- ;; for everything save profiles:
- (string-prefix-p "accounts" endpoint))
- ;;(or (equal endpoint "notifications")
- ;; (string-prefix-p "timelines" endpoint)
- ;; (string-prefix-p "favourites" endpoint)
- ;; (string-prefix-p "statuses" endpoint))
- (mastodon-tl--goto-first-item)))
+ (unless (string-prefix-p "accounts" endpoint)
+ ;; for everything save profiles
+ (mastodon-tl--goto-first-item))))
+;;(or (equal endpoint "notifications")
+;; (string-prefix-p "timelines" endpoint)
+;; (string-prefix-p "favourites" endpoint)
+;; (string-prefix-p "statuses" endpoint))
(defun mastodon-tl--init-sync (buffer-name endpoint update-function)
"Initialize BUFFER-NAME with timeline targeted by ENDPOINT.