From: Richard M. Stallman Date: Fri, 26 Nov 1999 17:31:26 +0000 (+0000) Subject: (write-file-hooks): Doc fix. X-Git-Tag: emacs-pretest-21.0.90~5963 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3a4b82fe053025c1dfa4092c7226937b2b97fdb;p=emacs.git (write-file-hooks): Doc fix. --- diff --git a/lisp/files.el b/lisp/files.el index 540fc7ad2a7..d92313eaec3 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -298,7 +298,8 @@ functions are called.") 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'.")