1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(custom-save-all): Bind file-precious-flag to t for saving .emacs.

This commit is contained in:
Richard M. Stallman 2002-01-24 18:56:45 +00:00
parent c9783dfe4f
commit 82d3d6946e
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2002-01-24 Richard M. Stallman <rms@gnu.org>
* cus-edit.el (custom-save-all): Bind file-precious-flag to t
for saving .emacs.
* files.el (basic-save-buffer-2): Ignore file-error in delete-file.
* calendar/calendar.el (generate-calendar-month): Doc fix.
2002-01-23 Richard M. Stallman <rms@gnu.org>

View File

@ -3742,7 +3742,8 @@ or (if there were none) at the end of the buffer."
(save-excursion
(let ((default-major-mode nil))
(set-buffer (find-file-noselect (custom-file))))
(save-buffer))))
(let ((file-precious-flag t))
(save-buffer)))))
;;; The Customize Menu.