From e5588c43ebd7184c572cf81d49b710cf97eb76bc Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Wed, 14 Sep 2005 20:20:56 +0000 Subject: [PATCH] (Saving): Mention write-region-inhibit-fsync. --- man/ChangeLog | 4 ++++ man/files.texi | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/man/ChangeLog b/man/ChangeLog index 69cf7458a7a..d4021e1428a 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -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 --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 -- 2.39.2