Mercurial > hg > xemacs-beta
changeset 764:3c5d0bca9200
[xemacs-hg @ 2002-03-05 13:00:37 by stephent]
document autosave and write-region <87g03ftbz2.fsf@tleeps18.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Tue, 05 Mar 2002 13:00:38 +0000 |
parents | 47ae55dda777 |
children | a543dd3d410f |
files | src/ChangeLog src/fileio.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <stephen@xemacs.org> + + * fileio.c (Fwrite_region_internal): Document use of start == Qnil. + 2001-09-04 Daiki Ueno <ueno@unixuser.org> * insdel.c (prepare_to_modify_buffer): Don't call the function
--- 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)) {