]> git.eshelyaron.com Git - emacs.git/commit
Restore positions reliably for abbreviated file names in saveplace.el
authorLiu Hui <liuhui1610@gmail.com>
Tue, 4 Apr 2023 01:13:32 +0000 (09:13 +0800)
committerEli Zaretskii <eliz@gnu.org>
Thu, 6 Apr 2023 10:25:54 +0000 (13:25 +0300)
commit27a21709c1e8e67a1e90d8c926e6daaa1f9a686a
treefd253b6ffb516f5f48d57c972c848d0fc5d34460
parent0563dbf95d024c98bb3c81b6a7e55365fe73f955
Restore positions reliably for abbreviated file names in saveplace.el

* lisp/saveplace.el (save-place-abbreviate-file-names): Add setter
function for rewriting `save-place-alist'.  Update docstring.
(save-place-to-alist): Save Abbreviated dired-filename.
(save-place-load-alist-from-file): Move this function above
`save-place-abbreviate-file-names' since it is used in the :set
function.
(save-place-find-file-hook):
(save-place-dired-hook): Use abbreviated file name when
`save-place-abbreviate-file-names' is non-nil.
(Bug#62413)
lisp/saveplace.el