]> git.eshelyaron.com Git - emacs.git/commitdiff
Add newline and tab matching documentation to query-replace-regexp
authorEric Skoglund <eric@pagefault.se>
Sun, 2 May 2021 09:13:45 +0000 (11:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 2 May 2021 09:13:45 +0000 (11:13 +0200)
* lisp/replace.el: Add \n and \t matching information to
query-replace-regexp docstring (bug#47981).

lisp/replace.el

index b5dea61924aaaef7337a66a01446eb6f7eef6844..f427bb30b492721826a2abed89e307f09a07e22b 100644 (file)
@@ -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 \\<minibuffer-local-map>\\[next-history-element] \
 to pull the last incremental search regexp to the minibuffer
 that reads REGEXP, or invoke replacements from