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:22:07 +0200
commit6c04327b6c89529a19f196f2610ad86779ab8232 (patch)
treeda20522d95adaf19d4e4fb04d921e4b56aec1580 /lisp
parentc18f3391b26a16c5a1bc7568cfd06a8ce6367c67 (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 4014772..0d666ed 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.