diff options
| author | Romain Francoise | 2005-09-14 20:20:56 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-09-14 20:20:56 +0000 |
| commit | e5588c43ebd7184c572cf81d49b710cf97eb76bc (patch) | |
| tree | 23170a9fbaacdc4d582eb5ddd928fb4b15325ecb | |
| parent | 8c4a54e2a39410c1d64764f88a3b16c5aff7e75b (diff) | |
| download | emacs-e5588c43ebd7184c572cf81d49b710cf97eb76bc.tar.gz emacs-e5588c43ebd7184c572cf81d49b710cf97eb76bc.zip | |
(Saving): Mention write-region-inhibit-fsync.
| -rw-r--r-- | man/ChangeLog | 4 | ||||
| -rw-r--r-- | man/files.texi | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 69cf7458a7a..d4021e1428a 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-09-14 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * files.texi (Saving): Mention write-region-inhibit-fsync. | ||
| 4 | |||
| 1 | 2005-09-05 Chong Yidong <cyd@stupidchicken.com> | 5 | 2005-09-05 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * custom.texi (Custom Themes): New node. | 7 | * 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 | |||
| 502 | @code{mode-require-final-newline}. By setting the latter variable, | 502 | @code{mode-require-final-newline}. By setting the latter variable, |
| 503 | you can control how these modes handle final newlines. | 503 | you can control how these modes handle final newlines. |
| 504 | 504 | ||
| 505 | @vindex write-region-inhibit-fsync | ||
| 506 | When Emacs saves a file to disk, it issues an @code{fsync} call to the | ||
| 507 | operating system to ensure that your data has indeed reached the media. | ||
| 508 | This is important for safety if the system crashes or in case of power | ||
| 509 | outage. However, it can be disruptive on laptops using power saving | ||
| 510 | because it forces the system to spin up the drive each time you save a | ||
| 511 | file; the variable @code{write-region-inhibit-fsync} disables this | ||
| 512 | synchronization. This may result in data loss, use with care! | ||
| 513 | |||
| 505 | @menu | 514 | @menu |
| 506 | * Backup:: How Emacs saves the old version of your file. | 515 | * Backup:: How Emacs saves the old version of your file. |
| 507 | * Interlocking:: How Emacs protects against simultaneous editing | 516 | * Interlocking:: How Emacs protects against simultaneous editing |