diff options
author | Romain Francoise <romain@orebokech.com> | 2005-09-14 20:20:56 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2005-09-14 20:20:56 +0000 |
commit | e5588c43ebd7184c572cf81d49b710cf97eb76bc (patch) | |
tree | 23170a9fbaacdc4d582eb5ddd928fb4b15325ecb /man/files.texi | |
parent | 8c4a54e2a39410c1d64764f88a3b16c5aff7e75b (diff) | |
download | emacs-e5588c43ebd7184c572cf81d49b710cf97eb76bc.tar.gz |
(Saving): Mention write-region-inhibit-fsync.
Diffstat (limited to 'man/files.texi')
-rw-r--r-- | man/files.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/files.texi b/man/files.texi index 912fc6f7bf9..b8e8d60c2f9 100644 --- a/man/files.texi +++ b/man/files.texi @@ -502,6 +502,15 @@ variable @code{require-final-newline} according to @code{mode-require-final-newline}. By setting the latter variable, you can control how these modes handle final newlines. +@vindex write-region-inhibit-fsync + When Emacs saves a file to disk, it issues an @code{fsync} call to the +operating system to ensure that your data has indeed reached the media. +This is important for safety if the system crashes or in case of power +outage. However, it can be disruptive on laptops using power saving +because it forces the system to spin up the drive each time you save a +file; the variable @code{write-region-inhibit-fsync} disables this +synchronization. This may result in data loss, use with care! + @menu * Backup:: How Emacs saves the old version of your file. * Interlocking:: How Emacs protects against simultaneous editing |