Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7cbbcaa0
Commit
7cbbcaa0
authored
Aug 15, 2013
by
Xue Fuqiao
Browse files
* doc/lispref/markers.texi (The Region): Add/move indexes.
parent
8e5c7e6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+4
-0
doc/lispref/markers.texi
doc/lispref/markers.texi
+4
-1
No files found.
doc/lispref/ChangeLog
View file @
7cbbcaa0
2013-08-15 Xue Fuqiao <xfq.free@gmail.com>
* markers.texi (The Region): Add/move indexes.
2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
* display.texi (ImageMagick Images): Mention :content-type and
...
...
doc/lispref/markers.texi
View file @
7cbbcaa0
...
...
@@ -387,7 +387,6 @@ This is another name for @code{set-marker}.
@section The Mark
@cindex mark, the
@c @cindex the mark?
@cindex mark ring
Each buffer has a special marker, which is designated @dfn{the
mark}. 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
Mark mode. (Another is that this enables highlighting of the region
when the mark is active. @xref{Display}.)
@cindex mark ring
In addition to the mark, each buffer has a @dfn{mark ring} which is a
list of markers containing previous values of the mark. When editing
commands 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
larger.
@end defun
@c FIXME: Mention it in tips.texi?
Instead of using @code{region-beginning} and @code{region-end}, a
command designed to operate on a region should normally use
@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
function is intended to be used by commands that operate on the
region, instead of on text near point, when the mark is active.
@cindex empty region
@vindex use-empty-active-region
A region is valid if it has a non-zero size, or if the user option
@code{use-empty-active-region} is non-@code{nil} (by default, it is
@code{nil}). The function @code{region-active-p} is similar to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment