Commit 62d81bd7 authored by Barry O'Reilly's avatar Barry O'Reilly
Browse files

* markers.texi (Moving Marker Positions): Clarify guidance about

when to move markers and when to create a new one, as discussed at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16818#17
parent e3d090b4
2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
* markers.texi (Moving Marker Positions): Clarify guidance about
when to move markers and when to create a new one, as discussed at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16818#17
2014-03-02 Glenn Morris <rgm@gnu.org> 2014-03-02 Glenn Morris <rgm@gnu.org>
* text.texi (Decompression): New node. * text.texi (Decompression): New node.
......
...@@ -344,10 +344,12 @@ specify the insertion type, create them with insertion type ...@@ -344,10 +344,12 @@ specify the insertion type, create them with insertion type
@section Moving Marker Positions @section Moving Marker Positions
This section describes how to change the position of an existing This section describes how to change the position of an existing
marker. When you do this, be sure you know whether the marker is used marker. When you do this, be sure you know how the marker is used
outside of your program, and, if so, what effects will result from outside of your program. For example, moving a marker to an unrelated
moving it---otherwise, confusing things may happen in other parts of new position can cause undo to later adjust the marker incorrectly.
Emacs. Often when you wish to relocate a marker to an unrelated position, it
is preferable to make a new marker and set the prior one to point
nowhere.
@defun set-marker marker position &optional buffer @defun set-marker marker position &optional buffer
This function moves @var{marker} to @var{position} This function moves @var{marker} to @var{position}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment