comparison man/files.texi @ 43682:02ff23017427

Update how auto-save file names are made for non-file buffers.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 Mar 2002 22:04:01 +0000
parents 21907e7569d1
children 5da94d5db448
comparison
equal deleted inserted replaced
43681:5f02f10efd8a 43682:02ff23017427
931 Normally, the auto-save file name is made by appending @samp{#} to the 931 Normally, the auto-save file name is made by appending @samp{#} to the
932 front and rear of the visited file name. Thus, a buffer visiting file 932 front and rear of the visited file name. Thus, a buffer visiting file
933 @file{foo.c} is auto-saved in a file @file{#foo.c#}. Most buffers that 933 @file{foo.c} is auto-saved in a file @file{#foo.c#}. Most buffers that
934 are not visiting files are auto-saved only if you request it explicitly; 934 are not visiting files are auto-saved only if you request it explicitly;
935 when they are auto-saved, the auto-save file name is made by appending 935 when they are auto-saved, the auto-save file name is made by appending
936 @samp{#%} to the front and @samp{#} to the rear of buffer name. For 936 @samp{#} to the front and rear of buffer name, then
937 adding digits and letters at the end for uniqueness. For
937 example, the @samp{*mail*} buffer in which you compose messages to be 938 example, the @samp{*mail*} buffer in which you compose messages to be
938 sent is auto-saved in a file named @file{#%*mail*#}. Auto-save file 939 sent might auto-saved in a file named @file{#*mail*#704juu}. Auto-save file
939 names are made this way unless you reprogram parts of Emacs to do 940 names are made this way unless you reprogram parts of Emacs to do
940 something different (the functions @code{make-auto-save-file-name} and 941 something different (the functions @code{make-auto-save-file-name} and
941 @code{auto-save-file-name-p}). The file name to be used for auto-saving 942 @code{auto-save-file-name-p}). The file name to be used for auto-saving
942 in a buffer is calculated when auto-saving is turned on in that buffer. 943 in a buffer is calculated when auto-saving is turned on in that buffer.
943 944