diff options
| author | Tino Calancha | 2016-02-24 12:35:46 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-24 12:35:46 +1100 |
| commit | e1d749bd7e0d68ab063eae3927caede6039a33cf (patch) | |
| tree | 3b16fbd693e0184b8c4d5e5322d71f28c903a4e6 /etc | |
| parent | bbd86c5642bd62c43d72391669f28eaa14459fd5 (diff) | |
| download | emacs-e1d749bd7e0d68ab063eae3927caede6039a33cf.tar.gz emacs-e1d749bd7e0d68ab063eae3927caede6039a33cf.zip | |
Allow undoing changes while doing query-replace
* doc/lispref/searching.texi (Search and Replace): Mention
undo (bug#21684).
* lisp/replace.el (query-replace-help): Document undo.
(perform-replace): Implement undo while replacing text.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -435,6 +435,11 @@ is intended for adding to 'kill-emacs-query-functions'. | |||
| 435 | in favor of the global `M-s h' bindings introduced in Emacs-23.1. | 435 | in favor of the global `M-s h' bindings introduced in Emacs-23.1. |
| 436 | They'll disappear soon. | 436 | They'll disappear soon. |
| 437 | 437 | ||
| 438 | +++ | ||
| 439 | ** New bindings for 'query-replace-map'. | ||
| 440 | `undo', undo the last replacement; bound to `u'. | ||
| 441 | `undo-all', undo all replacements; bound to `U'. | ||
| 442 | |||
| 438 | 443 | ||
| 439 | * Changes in Specialized Modes and Packages in Emacs 25.1 | 444 | * Changes in Specialized Modes and Packages in Emacs 25.1 |
| 440 | 445 | ||