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:
parent
46065dd4a5
commit
cfde584f6d
@ -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)))))
|
||||
|
Loading…
Reference in New Issue
Block a user