summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-11-26 17:31:26 +0000
committerRichard M. Stallman <rms@gnu.org>1999-11-26 17:31:26 +0000
commitf3a4b82fe053025c1dfa4092c7226937b2b97fdb (patch)
tree51484d84d8c20899aa8d217bffb8e19d85398095 /lisp/files.el
parent65a3ccf741a1db499ccd06c79617052a489b9f9c (diff)
downloademacs-f3a4b82fe053025c1dfa4092c7226937b2b97fdb.tar.gz
(write-file-hooks): Doc fix.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
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'.")