diff options
| author | Richard M. Stallman | 2002-01-24 18:56:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-01-24 18:56:45 +0000 |
| commit | 82d3d6946e36f62c3db92530f6ff8a71514af442 (patch) | |
| tree | 53f17f574a0f35b806220d6a9c0f343bd357197b | |
| parent | c9783dfe4fda587b0c43a1a8f1383e88006681c1 (diff) | |
| download | emacs-82d3d6946e36f62c3db92530f6ff8a71514af442.tar.gz emacs-82d3d6946e36f62c3db92530f6ff8a71514af442.zip | |
(custom-save-all): Bind file-precious-flag to t for saving .emacs.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9af455ffa26..d72c30116f7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2002-01-24 Richard M. Stallman <rms@gnu.org> | 1 | 2002-01-24 Richard M. Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * cus-edit.el (custom-save-all): Bind file-precious-flag to t | ||
| 4 | for saving .emacs. | ||
| 5 | |||
| 6 | * files.el (basic-save-buffer-2): Ignore file-error in delete-file. | ||
| 7 | |||
| 3 | * calendar/calendar.el (generate-calendar-month): Doc fix. | 8 | * calendar/calendar.el (generate-calendar-month): Doc fix. |
| 4 | 9 | ||
| 5 | 2002-01-23 Richard M. Stallman <rms@gnu.org> | 10 | 2002-01-23 Richard M. Stallman <rms@gnu.org> |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 1d411f75bdf..3b1fcecd4b5 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -3742,7 +3742,8 @@ or (if there were none) at the end of the buffer." | |||
| 3742 | (save-excursion | 3742 | (save-excursion |
| 3743 | (let ((default-major-mode nil)) | 3743 | (let ((default-major-mode nil)) |
| 3744 | (set-buffer (find-file-noselect (custom-file)))) | 3744 | (set-buffer (find-file-noselect (custom-file)))) |
| 3745 | (save-buffer)))) | 3745 | (let ((file-precious-flag t)) |
| 3746 | (save-buffer))))) | ||
| 3746 | 3747 | ||
| 3747 | ;;; The Customize Menu. | 3748 | ;;; The Customize Menu. |
| 3748 | 3749 | ||