aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2007-11-10 21:52:06 +0000
committerJuri Linkov2007-11-10 21:52:06 +0000
commit59b5d020e4b85357da050a7242e8690f1b18740b (patch)
tree8d9749755099e27196addac4a6bd4d62d40fbaaf
parent21d50ba11f58b300fa24a1f9f9faaf011b495760 (diff)
downloademacs-59b5d020e4b85357da050a7242e8690f1b18740b.tar.gz
emacs-59b5d020e4b85357da050a7242e8690f1b18740b.zip
Add query-replace-show-replacement and match-substitute-replacement.
-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.
124* Editing Changes in Emacs 23.1 124* Editing Changes in Emacs 23.1
125 125
126+++ 126+++
127** C-M-% now shows replacement as it would look in the buffer, with
128`\N' and `\&' substituted according to the match. Old behavior can be
129restored by customizing `query-replace-show-replacement'.
130
131+++
127** M-q now fills the region if the region is active and 132** M-q now fills the region if the region is active and
128`transient-mark-mode' is turned on. Otherwise, it fills the current 133`transient-mark-mode' is turned on. Otherwise, it fills the current
129paragraph. 134paragraph.
@@ -365,6 +370,10 @@ because they clash with commands provided by dirtrack.el. Use
365* Lisp Changes in Emacs 23.1 370* Lisp Changes in Emacs 23.1
366 371
367+++ 372+++
373** New function `match-substitute-replacement' returns the result of
374`replace-match' without actually using it in the buffer.
375
376+++
368** A list of default values can be specified for the DEFAULT argument of 377** A list of default values can be specified for the DEFAULT argument of
369functions `read-from-minibuffer', `read-string', `read-command', 378functions `read-from-minibuffer', `read-string', `read-command',
370`read-variable', `read-buffer', `completing-read'. Elements of this list 379`read-variable', `read-buffer', `completing-read'. Elements of this list