1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08: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

@ -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.