1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(save-place-alist-to-file): Write the file using write-region.

This commit is contained in:
Richard M. Stallman 2005-05-29 08:36:26 +00:00
parent 46065dd4a5
commit cfde584f6d

View File

@ -222,7 +222,8 @@ may have changed\) back to `save-place-alist'."
(t
t))))
(condition-case nil
(write-file file)
;; Don't use write-file; we don't want this buffer to visit it.
(write-region (point-min) (point-max) file)
(file-error (message "Can't write %s" file)))
(kill-buffer (current-buffer))
(message "Saving places to %s...done" file)))))