aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Rudalics2024-03-16 10:46:02 +0100
committerMartin Rudalics2024-03-16 10:46:02 +0100
commitc12852bbf61ebb9ae124033deb427b15ce1a2ffb (patch)
tree14d2329049ce36ff8e9c34317310383f62f6f361 /doc
parent899ea79310d1b8ed78c3fd8ac1784043dd732dbf (diff)
downloademacs-c12852bbf61ebb9ae124033deb427b15ce1a2ffb.tar.gz
emacs-c12852bbf61ebb9ae124033deb427b15ce1a2ffb.zip
Document and announce 'marker-last-position'
* doc/lispref/markers.texi (Information from Markers): Document 'marker-last-position'. * etc/NEWS: Announce 'marker-last-position'. * src/window.c (window_restore_killed_buffer_windows): Minor doc-string fix. * doc/lispref/windows.texi (Window Configurations): Minor fix.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/markers.texi7
-rw-r--r--doc/lispref/windows.texi4
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi
index 3037790692c..28ad0ff73c0 100644
--- a/doc/lispref/markers.texi
+++ b/doc/lispref/markers.texi
@@ -283,6 +283,13 @@ This function returns the position that @var{marker} points to, or
283@code{nil} if it points nowhere. 283@code{nil} if it points nowhere.
284@end defun 284@end defun
285 285
286@defun marker-last-position marker
287This function returns the last known position of @var{marker} in its
288buffer. It behaves like @code{marker-position} with one exception: If
289the buffer of @var{marker} has been killed, it returns the last position
290of @var{marker} in that buffer before it was killed.
291@end defun
292
286@defun marker-buffer marker 293@defun marker-buffer marker
287This function returns the buffer that @var{marker} points into, or 294This function returns the buffer that @var{marker} points into, or
288@code{nil} if it points nowhere. 295@code{nil} if it points nowhere.
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 2e2fdee422b..eef05d94fdb 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -6424,8 +6424,8 @@ windows are restored by @code{window-state-put}.
6424The second argument specifies a list of entries for @emph{all} windows 6424The second argument specifies a list of entries for @emph{all} windows
6425whose previous buffers have been found dead at the time 6425whose previous buffers have been found dead at the time
6426@code{set-window-configuration} or @code{window-state-put} tried to 6426@code{set-window-configuration} or @code{window-state-put} tried to
6427restore it in that window (minibuffer windows are excluded). This means 6427restore them (minibuffer windows are excluded). This means that the
6428that the function may also delete windows which were found live by 6428function may also delete windows which were found live by
6429@code{set-window-configuration}. 6429@code{set-window-configuration}.
6430 6430
6431Each entry in the list that is passed as the second argument to the 6431Each entry in the list that is passed as the second argument to the