From 46c9fabb917b31d34162ac2f7da35f1cb08004c0 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sun, 7 May 2023 17:07:50 +0200 Subject: always use string= in get-buffer-type --- lisp/mastodon-tl.el | 6 +++--- 1 file 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) -- cgit v1.2.3