1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* 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)
This commit is contained in:
Jeremy Bryant 2025-08-29 22:41:40 +01:00 committed by Eli Zaretskii
parent 8a284cbbc5
commit b73d92c8b1

View file

@ -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