[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30001: 27.0.50; Outdated info on save-excursion in (info "(cl) Modif
From: |
Eli Zaretskii |
Subject: |
bug#30001: 27.0.50; Outdated info on save-excursion in (info "(cl) Modify Macros") |
Date: |
Sat, 06 Jan 2018 11:10:00 +0200 |
> From: Xu Chunyang <mail@xuchunyang.me>
> Date: Sat, 06 Jan 2018 13:29:57 +0800
>
> 'C-h S cl-letf' or (info "(cl) Modify Macros") has the following:
>
> Note that `cl-letf' on `(point)' is not quite like a
> `save-excursion', as the latter effectively saves a marker which
> tracks insertions and deletions in the buffer.
>
> but 'save-excursion' is no longer saving marker since Emacs 25.1
> according to 'C-h f save-excursion'.
save-excursion doesn't save the _mark_, but it still saves a _marker_
that tracks point, as opposed to just the value of point at the moment
of the call.
Do you have a practical use case where the documentation is incorrect?
Thanks.