branch: externals/substitute commit 86423acf445ab23255f0890d1bac751138235f4b Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Use correct word in a couple of places --- substitute.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substitute.el b/substitute.el index 219e7aceda..f985dfa15f 100644 --- a/substitute.el +++ b/substitute.el @@ -93,7 +93,7 @@ and related." "Prompt for string while referencing TARGET and SCOPE." (let ((pretty-target (substitute--prettify-target-description target))) (read-string - (format "Replace `%s' %s with: " + (format "Substitute `%s' %s with: " (propertize pretty-target 'face 'error) (substitute--scope-description scope)) nil @@ -191,7 +191,7 @@ Report a `user-error' if no target is found." "Produce substitute command using FN, DOC, and SCOPE." `(defun ,fn (target sub) ,(format - "Replace TARGET with SUB %s. + "Substitute TARGET with SUB %s. When called interactively, TARGET is the symbol at point and SUB is a string that is provided at the minibuffer prompt.