From: Eli Zaretskii Date: Fri, 19 May 2017 08:12:51 +0000 (+0300) Subject: * lisp/replace.el (query-replace-regexp-eval): Doc fix. X-Git-Tag: emacs-26.0.90~521^2~364 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb5c6614eb171eef8c08474e0f949fe18ef4b230;p=emacs.git * lisp/replace.el (query-replace-regexp-eval): Doc fix. --- diff --git a/lisp/replace.el b/lisp/replace.el index 477cc9c3055..64dfe7da22d 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -464,8 +464,8 @@ reference `replace-count' to get the number of replacements already made. If the result of TO-EXPR is not a string, it is converted to one using `prin1-to-string' with the NOESCAPE argument (which see). -For convenience, when entering TO-EXPR interactively, you can use `\\&' or -`\\0' to stand for whatever matched the whole of REGEXP, and `\\N' (where +For convenience, when entering TO-EXPR interactively, you can use `\\&' +to stand for whatever matched the whole of REGEXP, and `\\N' (where N is a digit) to stand for whatever matched the Nth `\\(...\\)' (1-based) in REGEXP.