[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d855f1c3f9c: ; Fix recent changes in documentation
From: |
Eli Zaretskii |
Subject: |
master d855f1c3f9c: ; Fix recent changes in documentation |
Date: |
Sat, 16 Mar 2024 05:59:34 -0400 (EDT) |
branch: master
commit d855f1c3f9c488f48694fe63bbc49d66d775c16c
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Fix recent changes in documentation
* doc/lispref/markers.texi (Information from Markers):
* etc/NEWS: Improve description of 'marker-last-position'.
---
doc/lispref/markers.texi | 5 +++--
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
@defun marker-last-position marker
This function returns the last known position of @var{marker} in its
-buffer. It behaves like @code{marker-position} with one exception: If
+buffer. It behaves like @code{marker-position} with one exception: if
the buffer of @var{marker} has been killed, it returns the last position
-of @var{marker} in that buffer before it was killed.
+of @var{marker} in that buffer before the buffer was killed, instead of
+returning @code{nil}.
@end defun
@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
killed.
** New primitive 'marker-last-position'.
-It returns the last position of MARKER in its buffer even if that buffer
-has been killed.
+It returns the last position of a marker in its buffer even if that
+buffer has been killed. ('marker-position' would return nil in that
+case.)
** Functions and variables to transpose sexps
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d855f1c3f9c: ; Fix recent changes in documentation,
Eli Zaretskii <=