502 |
@code{mode-require-final-newline}. By setting the latter variable, |
@code{mode-require-final-newline}. By setting the latter variable, |
503 |
you can control how these modes handle final newlines. |
you can control how these modes handle final newlines. |
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 |
|
|
514 |
@menu |
@menu |
515 |
* Backup:: How Emacs saves the old version of your file. |
* Backup:: How Emacs saves the old version of your file. |
516 |
* Interlocking:: How Emacs protects against simultaneous editing |
* Interlocking:: How Emacs protects against simultaneous editing |