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:
parent
c9783dfe4f
commit
82d3d6946e
@ -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>
|
||||
|
@ -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…
Reference in New Issue
Block a user