aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTino Calancha2016-02-24 12:35:46 +1100
committerLars Ingebrigtsen2016-02-24 12:35:46 +1100
commite1d749bd7e0d68ab063eae3927caede6039a33cf (patch)
tree3b16fbd693e0184b8c4d5e5322d71f28c903a4e6 /doc
parentbbd86c5642bd62c43d72391669f28eaa14459fd5 (diff)
downloademacs-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.texi8
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
1806Move back to the previous place that a question was asked about. 1806Move back to the previous place that a question was asked about.
1807 1807
1808@item undo
1809Undo last replacement and move back to the place where that
1810replacement was performed.
1811
1812@item undo-all
1813Undo all replacements and move back to the place where the first
1814replacement was performed.
1815
1808@item edit 1816@item edit
1809Enter a recursive edit to deal with this question---instead of any 1817Enter a recursive edit to deal with this question---instead of any
1810other action that would normally be taken. 1818other action that would normally be taken.