branch: externals/substitute
commit 8b1d32af46ec916e4cfce0ab08d6d86b0c29cfc5
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use pretty target in substitute-report-operation
---
substitute.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/substitute.el b/substitute.el
index 558af1d509..ae64f26b86 100644
--- a/substitute.el
+++ b/substitute.el
@@ -205,7 +205,7 @@ NARROW prefix argument."
"Print message of substitution.
Report COUNTth substitutions of TARGET with SUB in SCOPE."
(message "Substituted `%s' with `%s' %d times %s"
- (propertize target 'face 'error)
+ (propertize (substitute--pretty-target target) 'face 'error)
(propertize sub 'face 'success)
count
(propertize scope 'face 'warning)))