143 |
|
|
144 |
@defvar make-backup-file-name-function |
@defvar make-backup-file-name-function |
145 |
@tindex make-backup-file-name-function |
@tindex make-backup-file-name-function |
146 |
This variable's value is a function to use for making backups instead of |
This variable's value is a function to use for making backups instead |
147 |
the default @code{make-backup-file-name}. A value of nil gives the |
of the default @code{make-backup-file-name}. A value of @code{nil} |
148 |
default @code{make-backup-file-name} behaviour. |
gives the default @code{make-backup-file-name} behaviour. |
149 |
|
|
150 |
This could be buffer-local to do something special for specific |
This could be buffer-local to do something special for specific |
151 |
files. If you define it, you may need to change |
files. If you define it, you may need to change |
415 |
called @dfn{auto-saving}. Auto-saving prevents you from losing more |
called @dfn{auto-saving}. Auto-saving prevents you from losing more |
416 |
than a limited amount of work if the system crashes. By default, |
than a limited amount of work if the system crashes. By default, |
417 |
auto-saves happen every 300 keystrokes, or after around 30 seconds of |
auto-saves happen every 300 keystrokes, or after around 30 seconds of |
418 |
idle time. @xref{Auto-Save, Auto-Save, Auto-Saving: Protection Against |
idle time. @xref{Auto Save, Auto Save, Auto-Saving: Protection Against |
419 |
Disasters, emacs, The GNU Emacs Manual}, for information on auto-save |
Disasters, emacs, The GNU Emacs Manual}, for information on auto-save |
420 |
for users. Here we describe the functions used to implement auto-saving |
for users. Here we describe the functions used to implement auto-saving |
421 |
and the variables that control them. |
and the variables that control them. |
558 |
factor that increases as the size increases; for a million-byte |
factor that increases as the size increases; for a million-byte |
559 |
buffer, the factor is almost 4.) |
buffer, the factor is almost 4.) |
560 |
|
|
561 |
If the value is zero or nil, then auto-saving is not done as a result |
If the value is zero or @code{nil}, then auto-saving is not done as a |
562 |
of idleness, only after a certain number of input events |
result of idleness, only after a certain number of input events as |
563 |
as specified by @code{auto-save-interval}. |
specified by @code{auto-save-interval}. |
564 |
@end defopt |
@end defopt |
565 |
|
|
566 |
@defvar auto-save-hook |
@defvar auto-save-hook |
729 |
the modified contents---but only if @code{revert-buffer-function} is |
the modified contents---but only if @code{revert-buffer-function} is |
730 |
@code{nil}. |
@code{nil}. |
731 |
@end defvar |
@end defvar |
732 |
|
|
733 |
|
@ignore |
734 |
|
arch-tag: 295a6321-e5ab-46d5-aef5-0bb4f447a67f |
735 |
|
@end ignore |