Mercurial > emacs
changeset 42930:09e1ef4107e7
(custom-save-all): Bind file-precious-flag to t for saving .emacs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Jan 2002 18:56:32 +0000 |
parents | 193c9307d562 |
children | 0c70cb5b2661 |
files | lisp/cus-edit.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/cus-edit.el Thu Jan 24 18:55:53 2002 +0000 +++ b/lisp/cus-edit.el Thu Jan 24 18:56:32 2002 +0000 @@ -3742,7 +3742,8 @@ (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.