From: Eric Skoglund Date: Sun, 2 May 2021 09:13:45 +0000 (+0200) Subject: Add newline and tab matching documentation to query-replace-regexp X-Git-Tag: emacs-28.0.90~2652 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ede24f8f97661983392900f86110e492d940ce24;p=emacs.git Add newline and tab matching documentation to query-replace-regexp * lisp/replace.el: Add \n and \t matching information to query-replace-regexp docstring (bug#47981). --- diff --git a/lisp/replace.el b/lisp/replace.el index b5dea61924a..f427bb30b49 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -432,6 +432,9 @@ In Transient Mark mode, if the mark is active, operate on the contents of the region. Otherwise, operate from point to the end of the buffer's accessible portion. +When invoked interactively, matching a newline with `\n' will not work; +use `C-q C-j' instead. To match a tab character (`\t'), just press `TAB'. + Use \\\\[next-history-element] \ to pull the last incremental search regexp to the minibuffer that reads REGEXP, or invoke replacements from