Mercurial > emacs
comparison lispref/files.texi @ 15913:f415fdc67ad3
Add xrefs from Saving Buffers to Format Conversion and Saving
Properties.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 24 Aug 1996 21:26:03 +0000 |
parents | 8cc15b664c4c |
children | 981e116b4ac6 |
comparison
equal
deleted
inserted
replaced
15912:afb0bb1cdbe6 | 15913:f415fdc67ad3 |
---|---|
305 the buffer visit that file, and marks it not modified. Then it renames | 305 the buffer visit that file, and marks it not modified. Then it renames |
306 the buffer based on @var{filename}, appending a string like @samp{<2>} | 306 the buffer based on @var{filename}, appending a string like @samp{<2>} |
307 if necessary to make a unique buffer name. It does most of this work by | 307 if necessary to make a unique buffer name. It does most of this work by |
308 calling @code{set-visited-file-name} and @code{save-buffer}. | 308 calling @code{set-visited-file-name} and @code{save-buffer}. |
309 @end deffn | 309 @end deffn |
310 | |
311 Saving a buffer runs several hooks. It also performs format | |
312 conversion (@pxref{Format Conversion}), and may save text properties in | |
313 ``annotations'' (@pxref{Saving Properties}). | |
310 | 314 |
311 @defvar write-file-hooks | 315 @defvar write-file-hooks |
312 The value of this variable is a list of functions to be called before | 316 The value of this variable is a list of functions to be called before |
313 writing out a buffer to its visited file. If one of them returns | 317 writing out a buffer to its visited file. If one of them returns |
314 non-@code{nil}, the file is considered already written and the rest of | 318 non-@code{nil}, the file is considered already written and the rest of |