From e5588c43ebd7184c572cf81d49b710cf97eb76bc Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Wed, 14 Sep 2005 20:20:56 +0000 Subject: (Saving): Mention write-region-inhibit-fsync. --- man/files.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man/files.texi') 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 -- cgit v1.2.1