aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-03-16 11:58:56 +0200
committerEli Zaretskii2024-03-16 11:58:56 +0200
commitd855f1c3f9c488f48694fe63bbc49d66d775c16c (patch)
tree3014e5d5db310748769cb0532ab2febd3a86fe8d
parentd60d625f6e76781bc4f3640ec269a051b3ecb1ae (diff)
downloademacs-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.texi5
-rw-r--r--etc/NEWS5
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
287This function returns the last known position of @var{marker} in its 287This function returns the last known position of @var{marker} in its
288buffer. It behaves like @code{marker-position} with one exception: If 288buffer. It behaves like @code{marker-position} with one exception: if
289the buffer of @var{marker} has been killed, it returns the last position 289the buffer of @var{marker} has been killed, it returns the last position
290of @var{marker} in that buffer before it was killed. 290of @var{marker} in that buffer before the buffer was killed, instead of
291returning @code{nil}.
291@end defun 292@end defun
292 293
293@defun marker-buffer marker 294@defun marker-buffer marker
diff --git a/etc/NEWS b/etc/NEWS
index 8cad9412def..50f0ee4a1aa 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1817,8 +1817,9 @@ It returns the name of a buffer before the last time it was renamed or
1817killed. 1817killed.
1818 1818
1819** New primitive 'marker-last-position'. 1819** New primitive 'marker-last-position'.
1820It returns the last position of MARKER in its buffer even if that buffer 1820It returns the last position of a marker in its buffer even if that
1821has been killed. 1821buffer has been killed. ('marker-position' would return nil in that
1822case.)
1822 1823
1823 1824
1824** Functions and variables to transpose sexps 1825** Functions and variables to transpose sexps