416 |
@c Emacs 19 feature |
@c Emacs 19 feature |
417 |
@defvar write-contents-functions |
@defvar write-contents-functions |
418 |
This works just like @code{write-file-functions}, but it is intended for |
This works just like @code{write-file-functions}, but it is intended for |
419 |
hooks that pertain to the contents of the buffer, as opposed to hooks that |
hooks that pertain to the contents of the file, as opposed to hooks that |
420 |
pertain to the file the buffers visits. Such hooks are usually set up by |
pertain to the file's name or location. Such hooks are usually set up by |
421 |
major modes, as buffer-local bindings for this variable. If any of the |
major modes, as buffer-local bindings for this variable. If any of the |
422 |
functions in this hook returns non-@code{nil}, the file is considered |
functions in this hook returns non-@code{nil}, the file is considered |
423 |
already written and the rest are not called and neither are the functions |
already written and the rest are not called and neither are the functions |