From f3a4b82fe053025c1dfa4092c7226937b2b97fdb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 26 Nov 1999 17:31:26 +0000 Subject: [PATCH] (write-file-hooks): Doc fix. --- lisp/files.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'.") -- 2.39.5