summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2007-11-10 21:52:06 +0000
committerJuri Linkov <juri@jurta.org>2007-11-10 21:52:06 +0000
commit59b5d020e4b85357da050a7242e8690f1b18740b (patch)
tree8d9749755099e27196addac4a6bd4d62d40fbaaf /etc
parent21d50ba11f58b300fa24a1f9f9faaf011b495760 (diff)
downloademacs-59b5d020e4b85357da050a7242e8690f1b18740b.tar.gz
Add query-replace-show-replacement and match-substitute-replacement.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b54aa3a9417..581547fe116 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -124,6 +124,11 @@ following arguments.
* Editing Changes in Emacs 23.1
+++
+** C-M-% now shows replacement as it would look in the buffer, with
+`\N' and `\&' substituted according to the match. Old behavior can be
+restored by customizing `query-replace-show-replacement'.
+
++++
** M-q now fills the region if the region is active and
`transient-mark-mode' is turned on. Otherwise, it fills the current
paragraph.
@@ -365,6 +370,10 @@ because they clash with commands provided by dirtrack.el. Use
* Lisp Changes in Emacs 23.1
+++
+** New function `match-substitute-replacement' returns the result of
+`replace-match' without actually using it in the buffer.
+
++++
** A list of default values can be specified for the DEFAULT argument of
functions `read-from-minibuffer', `read-string', `read-command',
`read-variable', `read-buffer', `completing-read'. Elements of this list