1 |
@c -*-texinfo-*- |
@c -*-texinfo-*- |
2 |
@c This is part of the GNU Emacs Lisp Reference Manual. |
@c This is part of the GNU Emacs Lisp Reference Manual. |
3 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1999 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1999 |
4 |
@c Free Software Foundation, Inc. |
@c Free Software Foundation, Inc. |
5 |
@c See the file elisp.texi for copying conditions. |
@c See the file elisp.texi for copying conditions. |
6 |
@setfilename ../info/backups |
@setfilename ../info/backups |
7 |
@node Backups and Auto-Saving, Buffers, Files, Top |
@node Backups and Auto-Saving, Buffers, Files, Top |
78 |
|
|
79 |
@smallexample |
@smallexample |
80 |
@group |
@group |
81 |
(add-hook 'rmail-mode-hook |
(add-hook 'rmail-mode-hook |
82 |
(function (lambda () |
(function (lambda () |
83 |
(make-local-variable |
(make-local-variable |
84 |
'make-backup-files) |
'make-backup-files) |
85 |
(setq make-backup-files nil)))) |
(setq make-backup-files nil)))) |
86 |
@end group |
@end group |
157 |
@subsection Backup by Renaming or by Copying? |
@subsection Backup by Renaming or by Copying? |
158 |
@cindex backup files, how to make them |
@cindex backup files, how to make them |
159 |
|
|
160 |
There are two ways that Emacs can make a backup file: |
There are two ways that Emacs can make a backup file: |
161 |
|
|
162 |
@itemize @bullet |
@itemize @bullet |
163 |
@item |
@item |
405 |
|
|
406 |
Some file comparison commands use this function so that they can |
Some file comparison commands use this function so that they can |
407 |
automatically compare a file with its most recent backup. |
automatically compare a file with its most recent backup. |
408 |
@end defun |
@end defun |
409 |
|
|
410 |
@node Auto-Saving |
@node Auto-Saving |
411 |
@section Auto-Saving |
@section Auto-Saving |