changeset 12145:bd3e59a5c0b3

(file-precious-flag): Doc clarification.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Jun 1995 01:00:42 +0000
parents 12720a817d83
children 3cc9c1ed504d
files lisp/files.el
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Fri Jun 09 00:55:30 1995 +0000
+++ b/lisp/files.el	Fri Jun 09 01:00:42 1995 +0000
@@ -131,7 +131,13 @@
 (defconst file-precious-flag nil
   "*Non-nil means protect against I/O errors while saving files.
 Some modes set this non-nil in particular buffers.
-Note that this forces backups to be made by copying.
+
+This feature works by writing the new contents into a temporary file
+and then renaming the temporary file to replace the original.
+In this way, any I/O error in writing leaves the original untouched,
+and there is never any instant where the file is nonexistent.
+
+Note that this feature forces backups to be made by copying.
 Yet, at the same time, saving a precious file
 breaks any hard links between it and other files.")