aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 18:08:28 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 18:21:11 +0100
commitdc1149ae594f44944d6807001dd2765ff1766d71 (patch)
tree608df5c686447e846265ab91317d41892bc7cf00 /lisp
parent9b2bacb956e64cc68f3778da27362f353eed9421 (diff)
show filter name in y-or-n prompt
Diffstat (limited to 'lisp')
-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 544c362..e38455b 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -684,7 +684,7 @@ Prompt for a context, must be a list containting at least one of \"home\",
(format "filters/%s" filter-id))))
(if (null phrase)
(error "No filter at point?")
- (when (y-or-n-p (format "Delete this filter? ")))
+ (when (y-or-n-p (format "Delete filter %s? " phrase)))
(let ((response (mastodon-http--delete url)))
(mastodon-http--triage response (lambda ()
(mastodon-views--view-filters)