From b73d92c8b124d2da03bf1206f15c320cbc5a1bd8 Mon Sep 17 00:00:00 2001 From: Jeremy Bryant Date: Fri, 29 Aug 2025 22:41:40 +0100 Subject: [PATCH] * lisp/saveplace.el (save-places-to-alist): Add doc string. Replace previous comment and simplify wording by refering to the function 'save-place-to-alist' being called on all buffers. (Bug#79340) --- lisp/saveplace.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/saveplace.el b/lisp/saveplace.el index 1f36196408a..51df1edeaa7 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -406,8 +406,8 @@ may have changed) back to `save-place-alist'." (file-error (message "Saving places: can't write %s" file))))))) (defun save-places-to-alist () - ;; go through buffer-list, saving places to alist if save-place-mode - ;; is non-nil, deleting them from alist if it is nil. + "Save all buffer filenames and positions to `save-place-alist'. +See `save-place-to-alist'." (let ((buf-list (buffer-list))) (while buf-list ;; put this into a save-excursion in case someone is counting on