X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ab19c39b45e8225b32a44ae2aa335c5870dd3e98..6416587d5d731a6c69d826a607635048ace664fd:/lispref/backups.texi diff --git a/lispref/backups.texi b/lispref/backups.texi index 89edc6d99c..39e3d908f7 100644 --- a/lispref/backups.texi +++ b/lispref/backups.texi @@ -1,7 +1,7 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1999 -@c Free Software Foundation, Inc. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2002, 2003, 2004, +@c 2005, 2006 Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/backups @node Backups and Auto-Saving, Buffers, Files, Top @@ -153,7 +153,7 @@ ignored. @tindex make-backup-file-name-function This variable's value is a function to use for making backups instead of the default @code{make-backup-file-name}. A value of @code{nil} -gives the default @code{make-backup-file-name} behaviour. +gives the default @code{make-backup-file-name} behavior. @xref{Backup Names,, Naming Backup Files}. This could be buffer-local to do something special for specific @@ -198,7 +198,7 @@ If this variable is non-@code{nil}, Emacs always makes backup files by copying. @end defopt - The following two variables, when non-@code{nil}, cause the second + The following three variables, when non-@code{nil}, cause the second method to be used in certain special cases. They have no effect on the treatment of files that don't fall into the special cases. @@ -253,7 +253,7 @@ file or multiple numbered backups. @table @asis @item @code{nil} Make numbered backups if the visited file already has numbered backups; -otherwise, do not. +otherwise, do not. This is the default. @item @code{never} Do not make numbered backups. @@ -503,7 +503,8 @@ function should check that variable first. @end group @end example -The standard definition of this function is as follows: +Here is a simplified version of the standard definition of this +function: @example @group @@ -588,10 +589,10 @@ This function auto-saves all buffers that need to be auto-saved. It saves all buffers for which auto-saving is enabled and that have been changed since the previous auto-save. -Normally, if any buffers are auto-saved, a message that says -@samp{Auto-saving...} is displayed in the echo area while auto-saving is -going on. However, if @var{no-message} is non-@code{nil}, the message -is inhibited. +If any buffers are auto-saved, @code{do-auto-save} normally displays a +message saying @samp{Auto-saving...} in the echo area while +auto-saving is going on. However, if @var{no-message} is +non-@code{nil}, the message is inhibited. If @var{current-only} is non-@code{nil}, only the current buffer is auto-saved. @@ -713,6 +714,7 @@ reverts the file without asking the user for confirmation. buffer-local bindings for these variables: @defvar revert-buffer-function +@anchor{Definition of revert-buffer-function} The value of this variable is the function to use to revert this buffer. If non-@code{nil}, it should be a function with two optional arguments to do the work of reverting. The two optional arguments,