comparison lispref/files.texi @ 56231:6d7412bcd051

(Saving Buffers): Correct previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jun 2004 20:08:20 +0000
parents c9aa4127a482
children 904bb1836ccd 59dcbfe97385
comparison
equal deleted inserted replaced
56230:fe184d71d3cb 56231:6d7412bcd051
414 @end defvar 414 @end defvar
415 415
416 @c Emacs 19 feature 416 @c Emacs 19 feature
417 @defvar write-contents-functions 417 @defvar write-contents-functions
418 This works just like @code{write-file-functions}, but it is intended for 418 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 419 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 420 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 421 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 422 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 423 already written and the rest are not called and neither are the functions
424 in @code{write-file-functions}. 424 in @code{write-file-functions}.
425 425