diff options
| author | Eli Zaretskii | 2024-03-16 11:58:56 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-03-16 11:58:56 +0200 |
| commit | d855f1c3f9c488f48694fe63bbc49d66d775c16c (patch) | |
| tree | 3014e5d5db310748769cb0532ab2febd3a86fe8d | |
| parent | d60d625f6e76781bc4f3640ec269a051b3ecb1ae (diff) | |
| download | emacs-d855f1c3f9c488f48694fe63bbc49d66d775c16c.tar.gz emacs-d855f1c3f9c488f48694fe63bbc49d66d775c16c.zip | |
; Fix recent changes in documentation
* doc/lispref/markers.texi (Information from Markers):
* etc/NEWS: Improve description of 'marker-last-position'.
| -rw-r--r-- | doc/lispref/markers.texi | 5 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi index 28ad0ff73c0..a13edb02ae6 100644 --- a/doc/lispref/markers.texi +++ b/doc/lispref/markers.texi | |||
| @@ -285,9 +285,10 @@ This function returns the position that @var{marker} points to, or | |||
| 285 | 285 | ||
| 286 | @defun marker-last-position marker | 286 | @defun marker-last-position marker |
| 287 | This function returns the last known position of @var{marker} in its | 287 | This function returns the last known position of @var{marker} in its |
| 288 | buffer. It behaves like @code{marker-position} with one exception: If | 288 | buffer. It behaves like @code{marker-position} with one exception: if |
| 289 | the buffer of @var{marker} has been killed, it returns the last position | 289 | the buffer of @var{marker} has been killed, it returns the last position |
| 290 | of @var{marker} in that buffer before it was killed. | 290 | of @var{marker} in that buffer before the buffer was killed, instead of |
| 291 | returning @code{nil}. | ||
| 291 | @end defun | 292 | @end defun |
| 292 | 293 | ||
| 293 | @defun marker-buffer marker | 294 | @defun marker-buffer marker |
| @@ -1817,8 +1817,9 @@ It returns the name of a buffer before the last time it was renamed or | |||
| 1817 | killed. | 1817 | killed. |
| 1818 | 1818 | ||
| 1819 | ** New primitive 'marker-last-position'. | 1819 | ** New primitive 'marker-last-position'. |
| 1820 | It returns the last position of MARKER in its buffer even if that buffer | 1820 | It returns the last position of a marker in its buffer even if that |
| 1821 | has been killed. | 1821 | buffer has been killed. ('marker-position' would return nil in that |
| 1822 | case.) | ||
| 1822 | 1823 | ||
| 1823 | 1824 | ||
| 1824 | ** Functions and variables to transpose sexps | 1825 | ** Functions and variables to transpose sexps |