# HG changeset patch # User stephent # Date 1015333238 0 # Node ID 3c5d0bca920003933a620119e55ff95f6254ffba # Parent 47ae55dda77746650afe313f3b222dd004111895 [xemacs-hg @ 2002-03-05 13:00:37 by stephent] document autosave and write-region <87g03ftbz2.fsf@tleeps18.sk.tsukuba.ac.jp> diff -r 47ae55dda777 -r 3c5d0bca9200 src/ChangeLog --- a/src/ChangeLog Tue Mar 05 12:53:11 2002 +0000 +++ b/src/ChangeLog Tue Mar 05 13:00:38 2002 +0000 @@ -1,3 +1,7 @@ +2002-03-04 Stephen J. Turnbull + + * fileio.c (Fwrite_region_internal): Document use of start == Qnil. + 2001-09-04 Daiki Ueno * insdel.c (prepare_to_modify_buffer): Don't call the function diff -r 47ae55dda777 -r 3c5d0bca9200 src/fileio.c --- a/src/fileio.c Tue Mar 05 12:53:11 2002 +0000 +++ b/src/fileio.c Tue Mar 05 13:00:38 2002 +0000 @@ -3114,6 +3114,11 @@ present, both functions are identical and ignore the CODESYS argument.) If support for Mule exists in this Emacs, the file is encoded according to the value of CODESYS. If this is nil, no code conversion occurs. + +As a special kludge to support auto-saving, when START is nil START and +END are set to the beginning and end, respectively, of the buffer, +regardless of any restrictions. Don't use this feature. It is documented +here because write-region handler writers need to be aware of it. */ (start, end, filename, append, visit, lockname, codesys)) {