aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-07 17:07:50 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-07 17:07:50 +0200
commit46c9fabb917b31d34162ac2f7da35f1cb08004c0 (patch)
tree79856fc29a1adac4b0cc961f5377cf7e073b3405
parent3341d75817013a2f78445761f2e67e5f33aa371d (diff)
always use string= in get-buffer-type
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 99406ef..13d97a5 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1583,11 +1583,11 @@ call this function after it is set or use something else."
((string-suffix-p "search" endpoint-fun)
'search)
;; trends
- ((equal "api/v1/trends/statuses" endpoint-fun)
+ ((string= "api/v1/trends/statuses" endpoint-fun)
'trending-statuses)
- ((equal "api/v1/trends/tags" endpoint-fun)
+ ((string= "api/v1/trends/tags" endpoint-fun)
'trending-tags)
- ((equal "api/v1/trends/links" endpoint-fun)
+ ((string= "api/v1/trends/links" endpoint-fun)
'trending-links)
;; User's views:
((string= "filters" endpoint-fun)