Commit 59b5d020 authored by Juri Linkov's avatar Juri Linkov
Browse files

Add query-replace-show-replacement and match-substitute-replacement.

parent 21d50ba1
......@@ -123,6 +123,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
......@@ -364,6 +369,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',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment