branch: externals/do-at-point
commit 5b5a41f8ea08c1b5f78739e1fb724cf15a916306
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Mention what the thing is when dry-running a command
---
 do-at-point.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/do-at-point.el b/do-at-point.el
index 5f0ac6aeba..23a65b897a 100644
--- a/do-at-point.el
+++ b/do-at-point.el
@@ -303,7 +303,7 @@ selected action."
       (message nil)               ;clear mini buffer
       (pcase (car (func-arity func))
         ((guard dry-run)
-         (message "Would do: %s" (cadr choice)))
+         (message "Would do: %s on %s" (cadr choice) thing))
         (0 (funcall func))
         (1 (funcall func (buffer-substring (car bound) (cdr bound))))
         (2 (funcall func (car bound) (cdr bound)))

Reply via email to