emacs-diffs
[Top][All Lists]
Advanced

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

master 8fa8d5310b: ; * etc/NEWS: Fix wording of a recently-added entry.


From: Eli Zaretskii
Subject: master 8fa8d5310b: ; * etc/NEWS: Fix wording of a recently-added entry.
Date: Wed, 2 Feb 2022 12:24:02 -0500 (EST)

branch: master
commit 8fa8d5310b524c08bfd70ac0ce531db58985e302
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * etc/NEWS: Fix wording of a recently-added entry.
---
 etc/NEWS | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index c2975b783d..cb9f855a9c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1238,15 +1238,18 @@ inhibits 'isearch' matching the STRING parameter.
 It can be used to implement own regexp syntax for search/replace.
 
 ---
-** New variable 'query-replace-read-from-default'.
-It can be set to a function that returns the default value (such as
-'find-tag-default') when 'query-replace' reads a string to replace.
-Another new variable 'query-replace-read-from-regexp-default'
-can be set to a function that returns the default value (such as
-'find-tag-default-as-regexp') when 'query-replace-regexp'
-reads a regexp to replace.  When these variables are nil
-(which is the default) then 'query-replace' uses the previous
-replacement from-to pair as the default value.
+** New variables to customize defaults of FROM for query-replace commands.
+The new variable 'query-replace-read-from-default' can be set to a
+function that returns the default value of FROM when 'query-replace'
+prompts for a string to be replaced.  An example of such a function is
+'find-tag-default'.
+
+The new variable 'query-replace-read-from-regexp-default' can be set
+to a function (such as 'find-tag-default-as-regexp') that returns the
+default value of FROM when 'query-replace-regexp' prompts for a regexp
+whose matches are to be replaced.  If these variables are nil (which
+is the default), 'query-replace' and 'query-replace-regexp' take the
+default value from the previous FROM-TO pair.
 
 ---
 ** New user option 'pp-use-max-width'.



reply via email to

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