[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/mark.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/man/mark.texi |
Date: |
Sun, 29 Jan 2006 16:58:41 +0000 |
Index: emacs/man/mark.texi
diff -u emacs/man/mark.texi:1.31 emacs/man/mark.texi:1.32
--- emacs/man/mark.texi:1.31 Fri Nov 4 07:37:36 2005
+++ emacs/man/mark.texi Sun Jan 29 16:58:41 2006
@@ -44,6 +44,7 @@
when there is one.
* Momentary Mark:: Enabling Transient Mark mode momentarily.
* Using Region:: Summary of ways to operate on contents of the region.
+* Selective Undo:: Undoing within a given region.
* Marking Objects:: Commands to put region around textual units.
* Mark Ring:: Previous mark positions saved so you can go back there.
* Global Mark Ring:: Previous mark positions in various buffers.
@@ -297,11 +298,31 @@
Print hardcopy with @kbd{M-x print-region} (@pxref{Printing}).
@item
Evaluate it as Lisp code with @kbd{M-x eval-region} (@pxref{Lisp Eval}).
address@hidden
+Undo changes within it using @kbd{C-u C-x u} (@pxref{Selective Undo}).
@end itemize
Most commands that operate on the text in the region have the word
@code{region} in their names.
address@hidden Selective Undo
address@hidden Selective Undo
+
address@hidden selective undo
address@hidden C-u C-x u
+ Ordinary undo applies to all changes made in the current buffer. You
+can also perform @dfn{selective undo}, limited to the current region
+(@pxref{Mark}).
+
+ To do this, specify the region you want, then run the @code{undo}
+command with a prefix argument (the value does not matter): @kbd{C-u
+C-x u} or @kbd{C-u C-_}. This undoes the most recent change in the
+region. To undo further changes in the same region, repeat the
address@hidden command (no prefix argument is needed). In Transient Mark
+mode (@pxref{Transient Mark}), any use of @code{undo} when there is an
+active region performs selective undo; you do not need a prefix
+argument.
+
@node Marking Objects
@section Commands to Mark Textual Objects
- [Emacs-diffs] Changes to emacs/man/mark.texi,
Richard M. Stallman <=