Commit 4b7271c1 authored by Karl Heuer's avatar Karl Heuer
Browse files

(file-precious-flag): Doc clarification.

parent ecb7cb34
......@@ -131,7 +131,13 @@ If the buffer is visiting a new file, the value is nil.")
(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.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment