aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 1e3dd4a..2a6238b 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -660,7 +660,7 @@ Prompt for a context, must be a list containting at least one of \"home\",
(phrase (get-text-property (point) 'phrase))
(url (mastodon-http--api
(format "filters/%s" filter-id))))
- (if (equal nil filter-id)
+ (if (null phrase)
(error "No filter at point?")
(when (y-or-n-p (format "Delete this filter? ")))
(let ((response (mastodon-http--delete url)))