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 /doc | |
| 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 'doc')
| -rw-r--r-- | doc/lispref/searching.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 1243d720bc3..644716a95c7 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -1805,6 +1805,14 @@ Answer this question and all subsequent questions in the series with | |||
| 1805 | @item backup | 1805 | @item backup |
| 1806 | Move back to the previous place that a question was asked about. | 1806 | Move back to the previous place that a question was asked about. |
| 1807 | 1807 | ||
| 1808 | @item undo | ||
| 1809 | Undo last replacement and move back to the place where that | ||
| 1810 | replacement was performed. | ||
| 1811 | |||
| 1812 | @item undo-all | ||
| 1813 | Undo all replacements and move back to the place where the first | ||
| 1814 | replacement was performed. | ||
| 1815 | |||
| 1808 | @item edit | 1816 | @item edit |
| 1809 | Enter a recursive edit to deal with this question---instead of any | 1817 | Enter a recursive edit to deal with this question---instead of any |
| 1810 | other action that would normally be taken. | 1818 | other action that would normally be taken. |