aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXue Fuqiao2013-08-15 16:27:22 +0800
committerXue Fuqiao2013-08-15 16:27:22 +0800
commit7cbbcaa0dd337d39939d65f58b45f50f4480ce09 (patch)
treef817d1fabde0273e3f2d4cb26b62bba17acab420
parent8e5c7e6f4ee3598ea329f6a83c6d4d118cef7589 (diff)
downloademacs-7cbbcaa0dd337d39939d65f58b45f50f4480ce09.tar.gz
emacs-7cbbcaa0dd337d39939d65f58b45f50f4480ce09.zip
* doc/lispref/markers.texi (The Region): Add/move indexes.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/markers.texi5
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 0d7d13ea4e7..41e996e697e 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12013-08-15 Xue Fuqiao <xfq.free@gmail.com>
2
3 * markers.texi (The Region): Add/move indexes.
4
12013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> 52013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 6
3 * display.texi (ImageMagick Images): Mention :content-type and 7 * display.texi (ImageMagick Images): Mention :content-type and
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi
index 05c3fc56fd4..712e5f99b63 100644
--- a/doc/lispref/markers.texi
+++ b/doc/lispref/markers.texi
@@ -387,7 +387,6 @@ This is another name for @code{set-marker}.
387@section The Mark 387@section The Mark
388@cindex mark, the 388@cindex mark, the
389@c @cindex the mark? 389@c @cindex the mark?
390@cindex mark ring
391 390
392 Each buffer has a special marker, which is designated @dfn{the 391 Each buffer has a special marker, which is designated @dfn{the
393mark}. When a buffer is newly created, this marker exists but does 392mark}. When a buffer is newly created, this marker exists but does
@@ -426,6 +425,7 @@ the mark is active. This is the main motivation for using Transient
426Mark mode. (Another is that this enables highlighting of the region 425Mark mode. (Another is that this enables highlighting of the region
427when the mark is active. @xref{Display}.) 426when the mark is active. @xref{Display}.)
428 427
428@cindex mark ring
429 In addition to the mark, each buffer has a @dfn{mark ring} which is a 429 In addition to the mark, each buffer has a @dfn{mark ring} which is a
430list of markers containing previous values of the mark. When editing 430list of markers containing previous values of the mark. When editing
431commands change the mark, they should normally save the old value of the 431commands change the mark, they should normally save the old value of the
@@ -671,6 +671,7 @@ integer). This is the position of either point or the mark, whichever is
671larger. 671larger.
672@end defun 672@end defun
673 673
674@c FIXME: Mention it in tips.texi?
674 Instead of using @code{region-beginning} and @code{region-end}, a 675 Instead of using @code{region-beginning} and @code{region-end}, a
675command designed to operate on a region should normally use 676command designed to operate on a region should normally use
676@code{interactive} with the @samp{r} specification to find the 677@code{interactive} with the @samp{r} specification to find the
@@ -683,6 +684,8 @@ mark is active, and there is a valid region in the buffer. This
683function is intended to be used by commands that operate on the 684function is intended to be used by commands that operate on the
684region, instead of on text near point, when the mark is active. 685region, instead of on text near point, when the mark is active.
685 686
687@cindex empty region
688@vindex use-empty-active-region
686A region is valid if it has a non-zero size, or if the user option 689A region is valid if it has a non-zero size, or if the user option
687@code{use-empty-active-region} is non-@code{nil} (by default, it is 690@code{use-empty-active-region} is non-@code{nil} (by default, it is
688@code{nil}). The function @code{region-active-p} is similar to 691@code{nil}). The function @code{region-active-p} is similar to