diff options
| author | Barry O'Reilly | 2014-03-02 12:49:02 -0500 |
|---|---|---|
| committer | Barry O'Reilly | 2014-03-02 12:49:02 -0500 |
| commit | 62d81bd7cb144c30c25739d40e4fd3208e6987f5 (patch) | |
| tree | 2e6369d79fb603332f17969849d3fe25d11676c0 | |
| parent | e3d090b4c50756f1ed9db55553a98b515eec5eaa (diff) | |
| download | emacs-62d81bd7cb144c30c25739d40e4fd3208e6987f5.tar.gz emacs-62d81bd7cb144c30c25739d40e4fd3208e6987f5.zip | |
* 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
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/markers.texi | 10 |
2 files changed, 12 insertions, 4 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index e87272401d6..bd13a7d56ed 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com> | ||
| 2 | |||
| 3 | * markers.texi (Moving Marker Positions): Clarify guidance about | ||
| 4 | when to move markers and when to create a new one, as discussed at | ||
| 5 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16818#17 | ||
| 6 | |||
| 1 | 2014-03-02 Glenn Morris <rgm@gnu.org> | 7 | 2014-03-02 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * text.texi (Decompression): New node. | 9 | * text.texi (Decompression): New node. |
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi index 51b87ab1e5b..19386d638fe 100644 --- a/doc/lispref/markers.texi +++ b/doc/lispref/markers.texi | |||
| @@ -344,10 +344,12 @@ specify the insertion type, create them with insertion type | |||
| 344 | @section Moving Marker Positions | 344 | @section Moving Marker Positions |
| 345 | 345 | ||
| 346 | This section describes how to change the position of an existing | 346 | This section describes how to change the position of an existing |
| 347 | marker. When you do this, be sure you know whether the marker is used | 347 | marker. When you do this, be sure you know how the marker is used |
| 348 | outside of your program, and, if so, what effects will result from | 348 | outside of your program. For example, moving a marker to an unrelated |
| 349 | moving it---otherwise, confusing things may happen in other parts of | 349 | new position can cause undo to later adjust the marker incorrectly. |
| 350 | Emacs. | 350 | Often when you wish to relocate a marker to an unrelated position, it |
| 351 | is preferable to make a new marker and set the prior one to point | ||
| 352 | nowhere. | ||
| 351 | 353 | ||
| 352 | @defun set-marker marker position &optional buffer | 354 | @defun set-marker marker position &optional buffer |
| 353 | This function moves @var{marker} to @var{position} | 355 | This function moves @var{marker} to @var{position} |