Mercurial > emacs
changeset 26612:7970b988aada
(write-file-hooks): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 26 Nov 1999 17:31:26 +0000 |
parents | 07aba963acc9 |
children | 7f7e6de546ac |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Fri Nov 26 15:17:52 1999 +0000 +++ b/lisp/files.el Fri Nov 26 17:31:26 1999 +0000 @@ -298,7 +298,8 @@ If one of them returns non-nil, the file is considered already written and the rest are not called. These hooks are considered to pertain to the visited file. -So this list is cleared if you change the visited file name. +So any buffer-local binding of `write-file-hooks' is +discarded if you change the visited file name with \\[set-visited-file-name]. Don't make this variable buffer-local; instead, use `local-write-file-hooks'. See also `write-contents-hooks'.")