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:
parent
c9783dfe4f
commit
82d3d6946e
2 changed files with 7 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue