From 9ba2b21fc391a1d732689e1dd06fe66fd0c6d8af Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sun, 18 Aug 2024 18:35:14 +0200 Subject: filters: fix no keywords check --- lisp/mastodon-views.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el index cdebc6e..e47e0dc 100644 --- a/lisp/mastodon-views.el +++ b/lisp/mastodon-views.el @@ -659,8 +659,7 @@ JSON is the filters data." 'filter-title .title 'item-type 'filter)) ;; terms list: - (if (not .keywords) ;; poss to have a filter sans keywords - "" + (when .keywords ;; poss to have no keywords (mastodon-views--insert-filter-kws .keywords)))) (defvar mastodon-views--filter-types -- cgit v1.2.3