]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-save-all): Bind file-precious-flag to t for saving .emacs.
authorEli Zaretskii <eliz@gnu.org>
Mon, 28 Jan 2002 16:49:41 +0000 (16:49 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 28 Jan 2002 16:49:41 +0000 (16:49 +0000)
lisp/cus-edit.el

index 36edc4ea217b46f47c67cbbe80c4e4054685d77e..989ab8247ac06ee6c40514b5d4bbd9c8cf7a6fa4 100644 (file)
@@ -3653,7 +3653,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.