aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2008-10-15 11:49:10 +0000
committerEli Zaretskii2008-10-15 11:49:10 +0000
commitee666f840976d56671e3cec56ab9f5152afb2dcc (patch)
treea0fa06c9f6d619718cb38da8c0a1072418e2bc80 /etc
parent7cb709744177ca951a349fcbd9cc71963b637c91 (diff)
downloademacs-ee666f840976d56671e3cec56ab9f5152afb2dcc.tar.gz
emacs-ee666f840976d56671e3cec56ab9f5152afb2dcc.zip
(Creating Buffer-Local): Add an xref to "Setting Hooks" for the effect
of kill-all-local-variables on local hook functions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 20ea28eaf20..a11cf88f40d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1113,6 +1113,7 @@ don't, these primitives will return nil.
1113** New variable `user-emacs-directory'. 1113** New variable `user-emacs-directory'.
1114Use this instead of "~/.emacs.d". 1114Use this instead of "~/.emacs.d".
1115 1115
1116+++
1116** If a local hook function has a non-nil `permanent-local-hook' 1117** If a local hook function has a non-nil `permanent-local-hook'
1117property, `kill-all-local-variables' does not remove it from the local 1118property, `kill-all-local-variables' does not remove it from the local
1118value of the hook variable; it remains even if you change major modes. 1119value of the hook variable; it remains even if you change major modes.