diff options
| author | Jeremy Bryant | 2025-08-29 22:41:40 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2025-08-30 19:14:58 +0300 |
| commit | b73d92c8b124d2da03bf1206f15c320cbc5a1bd8 (patch) | |
| tree | 6d5597983c0c078656bd38c6d24c01c7a0edf1f5 | |
| parent | 8a284cbbc588d19d48ffbd159dfa506da468e351 (diff) | |
| download | emacs-b73d92c8b124d2da03bf1206f15c320cbc5a1bd8.tar.gz emacs-b73d92c8b124d2da03bf1206f15c320cbc5a1bd8.zip | |
* 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)
| -rw-r--r-- | lisp/saveplace.el | 4 |
1 files 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'." | |||
| 406 | (file-error (message "Saving places: can't write %s" file))))))) | 406 | (file-error (message "Saving places: can't write %s" file))))))) |
| 407 | 407 | ||
| 408 | (defun save-places-to-alist () | 408 | (defun save-places-to-alist () |
| 409 | ;; go through buffer-list, saving places to alist if save-place-mode | 409 | "Save all buffer filenames and positions to `save-place-alist'. |
| 410 | ;; is non-nil, deleting them from alist if it is nil. | 410 | See `save-place-to-alist'." |
| 411 | (let ((buf-list (buffer-list))) | 411 | (let ((buf-list (buffer-list))) |
| 412 | (while buf-list | 412 | (while buf-list |
| 413 | ;; put this into a save-excursion in case someone is counting on | 413 | ;; put this into a save-excursion in case someone is counting on |