(save-place-alist-to-file): Write the file using write-region.
This commit is contained in:
parent
46065dd4a5
commit
cfde584f6d
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue