From dc1149ae594f44944d6807001dd2765ff1766d71 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 18 Mar 2023 18:08:28 +0100 Subject: show filter name in y-or-n prompt --- lisp/mastodon-views.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') 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) -- cgit v1.2.3