diff options
| author | Stefan Monnier | 2025-02-03 16:33:39 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2025-02-03 16:34:35 -0500 |
| commit | f3ac16b3cc5778041332bb46f819a51e8b697099 (patch) | |
| tree | fa8e5c20997a417dce417e06cfa111b4af51e7c0 /java/debug.sh | |
| parent | 14ebe4d5dbd4e6637de227c8561aab22cf4b632c (diff) | |
| download | emacs-f3ac16b3cc5778041332bb46f819a51e8b697099.tar.gz emacs-f3ac16b3cc5778041332bb46f819a51e8b697099.zip | |
(save-place-abbreviate-file-names): Don't eagerly load alist (bug#75730)
Change the way we handle `save-place-abbreviate-file-names` such that
this preference is applied lazily when we load the alist, rather than
eagerly when we define it (which forced the alist to be loaded before we
needed it).
* lisp/saveplace.el (save-place-load-alist-from-file): Use `unless`,
`when`, and `with-temp-buffer` to hopefully help readability.
Call `save-place--normalize-alist`.
(save-place--normalize-alist): New function extracted from the setter
of `save-place-abbreviate-file-names`.
(save-place-abbreviate-file-names): Use it.
(save-place-alist-to-file): Use `with-temp-buffer`.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions