aboutsummaryrefslogtreecommitdiff
path: root/lisp
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:21:39 +0200
commitb19bb4b213e7de074bd0c4d1c6d2dfd6f2773353 (patch)
tree8445a1038fbc38521422f396b9db90610192fa71 /lisp
parent5d170358b15d8014cd8648b8e0a2e22306d80430 (diff)
tl--init*: fix a stray bracket
Diffstat (limited to 'lisp')
-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 b6c3632..40e7218 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1683,14 +1683,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.