summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/text-property-search.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2025-02-03 16:33:39 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2025-02-03 16:34:35 -0500
commitf3ac16b3cc5778041332bb46f819a51e8b697099 (patch)
treefa8e5c20997a417dce417e06cfa111b4af51e7c0 /lisp/emacs-lisp/text-property-search.el
parent14ebe4d5dbd4e6637de227c8561aab22cf4b632c (diff)
downloademacs-f3ac16b3cc5778041332bb46f819a51e8b697099.tar.gz
emacs-f3ac16b3cc5778041332bb46f819a51e8b697099.tar.bz2
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 'lisp/emacs-lisp/text-property-search.el')
0 files changed, 0 insertions, 0 deletions