From 0fba34295c199d18748eb69257424efac533563c Mon Sep 17 00:00:00 2001 From: bth Date: Thu, 4 Jun 2026 09:35:19 -0700 Subject: [PATCH] um-tag-dwim change prompt for neg prefix --- um.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/um.el b/um.el index 8c82820..2e4df2e 100644 --- a/um.el +++ b/um.el @@ -310,7 +310,8 @@ Negative prefix arg is handled by `um-tag-do', which see. " (interactive "p") (let* ( - (tag (completing-read "insert um tag: " um-tags-history nil nil nil 'um-tags-history)) + (prompt (format "um tag %s: " (if (> ARG 0) "insert" "delete"))) + (tag (completing-read prompt um-tags-history nil nil nil 'um-tags-history)) (marks (if (eq major-mode 'dired-mode) (dired-get-marked-files) nil)) ;; NOTE: should avoid bogus strings when in a markdown buffer: (fap (um-find-file-at-point))