# HG changeset patch # User Romain Francoise # Date 1126729256 0 # Node ID 1ebe69a133e66b4059e3675e52f55f3b929c5188 # Parent 845541eefcf182fb0f0ab9f0d54f3a03cbcb8704 (Saving): Mention write-region-inhibit-fsync. diff -r 845541eefcf1 -r 1ebe69a133e6 man/ChangeLog --- a/man/ChangeLog Wed Sep 14 20:20:18 2005 +0000 +++ b/man/ChangeLog Wed Sep 14 20:20:56 2005 +0000 @@ -1,3 +1,7 @@ +2005-09-14 Romain Francoise + + * files.texi (Saving): Mention write-region-inhibit-fsync. + 2005-09-05 Chong Yidong * custom.texi (Custom Themes): New node. diff -r 845541eefcf1 -r 1ebe69a133e6 man/files.texi --- a/man/files.texi Wed Sep 14 20:20:18 2005 +0000 +++ b/man/files.texi Wed Sep 14 20:20:56 2005 +0000 @@ -502,6 +502,15 @@ @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