emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ede24f8: Add newline and tab matching documentation to query-repl


From: Lars Ingebrigtsen
Subject: master ede24f8: Add newline and tab matching documentation to query-replace-regexp
Date: Sun, 2 May 2021 05:14:25 -0400 (EDT)

branch: master
commit ede24f8f97661983392900f86110e492d940ce24
Author: Eric Skoglund <eric@pagefault.se>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/replace.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/replace.el b/lisp/replace.el
index b5dea61..f427bb3 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 \\<minibuffer-local-map>\\[next-history-element] \
 to pull the last incremental search regexp to the minibuffer
 that reads REGEXP, or invoke replacements from



reply via email to

[Prev in Thread] Current Thread [Next in Thread]